add notification hints for gnome

This commit is contained in:
TingPing 2013-02-18 00:32:59 -05:00
parent bcb2107bb1
commit e5a6913f83
1 changed files with 4 additions and 0 deletions

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);
#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_text);