1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-29 12:42:16 -05:00

add notification hints for gnome

This commit is contained in:
TingPing 2013-02-18 00:32:59 -05:00
parent bcb2107bb1
commit e5a6913f83

View File

@ -175,6 +175,10 @@ fe_tray_set_balloon (const char *title, const char *text)
notification = XC_NOTIFY_NEW (notify_title, notify_text, HEXCHATSHAREDIR "/icons/hicolor/scalable/apps/hexchat.svg", NULL); notification = XC_NOTIFY_NEW (notify_title, notify_text, HEXCHATSHAREDIR "/icons/hicolor/scalable/apps/hexchat.svg", NULL);
#if NOTIFY_CHECK_VERSION(0,7,0)
notify_notification_set_hint (notification, "desktop-entry", g_variant_new_string ("hexchat"));
#endif
g_free ((char *)notify_title); g_free ((char *)notify_title);
g_free ((char *)notify_text); g_free ((char *)notify_text);