diff options
author | TingPing <tngpng@gmail.com> | 2013-02-18 00:32:59 -0500 |
---|---|---|
committer | TingPing <tngpng@gmail.com> | 2013-02-18 00:32:59 -0500 |
commit | e5a6913f8309f45e0980acf528c93721f650ffc8 (patch) | |
tree | c9a83351ccd19f9aa05e436872f1715ec7b0fec4 /src/fe-gtk/plugin-tray.c | |
parent | bcb2107bb189c6b3afbe75e2e2bcc5d56bb2d9ff (diff) |
add notification hints for gnome
Diffstat (limited to 'src/fe-gtk/plugin-tray.c')
-rw-r--r-- | src/fe-gtk/plugin-tray.c | 4 |
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); |