From e5a6913f8309f45e0980acf528c93721f650ffc8 Mon Sep 17 00:00:00 2001 From: TingPing Date: Mon, 18 Feb 2013 00:32:59 -0500 Subject: add notification hints for gnome --- src/fe-gtk/plugin-tray.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/fe-gtk') 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); -- cgit 1.4.1