summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorTingPing <tngpng@gmail.com>2013-02-18 00:32:59 -0500
committerTingPing <tngpng@gmail.com>2013-02-18 00:32:59 -0500
commite5a6913f8309f45e0980acf528c93721f650ffc8 (patch)
treec9a83351ccd19f9aa05e436872f1715ec7b0fec4
parentbcb2107bb189c6b3afbe75e2e2bcc5d56bb2d9ff (diff)
add notification hints for gnome
-rw-r--r--src/fe-gtk/plugin-tray.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fe-gtk/plugin-tray.c b/src/fe-gtk/plugin-tray.c
index 2ba76910..694e4c35 100644
--- a/src/fe-gtk/plugin-tray.c
+++ b/src/fe-gtk/plugin-tray.c
@@ -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);