mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-04-14 15:40:19 +00:00
Merge pull request #201 from ZoiteChat/fix-notification-icon
fix notification icon + fix flatpak screenshot
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
<url type="help">https://docs.zoitechat.org/en/latest/</url>
|
||||
<screenshots>
|
||||
<screenshot type="default">
|
||||
<image>https://zoitechat.org/assets/ZoiteChat.png</image>
|
||||
<image>https://zoitechat.org/assets/img/zoitechat-screenshot.png</image>
|
||||
<caption>Main Chat Window</caption>
|
||||
</screenshot>
|
||||
</screenshots>
|
||||
|
||||
@@ -56,7 +56,7 @@ notification_backend_show (const char *title, const char *text)
|
||||
g_variant_builder_init (¶ms, G_VARIANT_TYPE ("(susssasa{sv}i)"));
|
||||
g_variant_builder_add (¶ms, "s", "zoitechat"); /* App name */
|
||||
g_variant_builder_add (¶ms, "u", 0); /* ID, 0 means don't replace */
|
||||
g_variant_builder_add (¶ms, "s", "io.github.Hexchat"); /* App icon */
|
||||
g_variant_builder_add (¶ms, "s", "net.zoite.Zoitechat"); /* App icon */
|
||||
g_variant_builder_add (¶ms, "s", title);
|
||||
g_variant_builder_add (¶ms, "s", text);
|
||||
g_variant_builder_add (¶ms, "as", NULL); /* Actions */
|
||||
@@ -65,7 +65,7 @@ notification_backend_show (const char *title, const char *text)
|
||||
g_variant_builder_open (¶ms, G_VARIANT_TYPE ("a{sv}"));
|
||||
g_variant_builder_open (¶ms, G_VARIANT_TYPE ("{sv}"));
|
||||
g_variant_builder_add (¶ms, "s", "desktop-entry");
|
||||
g_variant_builder_add (¶ms, "v", g_variant_new_string ("io.github.Hexchat"));
|
||||
g_variant_builder_add (¶ms, "v", g_variant_new_string ("net.zoite.Zoitechat"));
|
||||
g_variant_builder_close (¶ms);
|
||||
g_variant_builder_close (¶ms);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user