summary refs log tree commit diff stats
path: root/src/fe-gtk
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-11-12 08:40:21 +0100
committerBerke Viktor <bviktor@hexchat.org>2012-11-12 08:40:21 +0100
commit0f26470169af253a10d173ded60394e107f14e91 (patch)
tree8d6ab6f244bf7a34a01546aabe810807110c1c46 /src/fe-gtk
parent4e488d04c8ee5c4f920ac7b802ec4b365fdfb117 (diff)
Re-enable plugin-tray context menu, submenus don't work yet
Diffstat (limited to 'src/fe-gtk')
-rw-r--r--src/fe-gtk/plugin-tray.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/fe-gtk/plugin-tray.c b/src/fe-gtk/plugin-tray.c
index d649c9f9..136e9b8e 100644
--- a/src/fe-gtk/plugin-tray.c
+++ b/src/fe-gtk/plugin-tray.c
@@ -165,7 +165,7 @@ fe_tray_set_balloon (const char *title, const char *text)
 	notify_text = strip_color (text, -1, STRIP_ALL|STRIP_ESCMARKUP);
 	notify_title = strip_color (title, -1, STRIP_ALL);
 
-	notification = XC_NOTIFY_NEW (notify_title, notify_text, HEXCHATSHAREDIR"/pixmaps/hexchat.png", NULL);
+	notification = XC_NOTIFY_NEW (notify_title, notify_text, HEXCHATSHAREDIR "/pixmaps/hexchat.png", NULL);
 
 	g_free ((char *)notify_title);
 	g_free ((char *)notify_text);
@@ -563,10 +563,8 @@ tray_init (void)
 	if (!sticon)
 		return;
 
-#ifndef WIN32
 	g_signal_connect (G_OBJECT (sticon), "popup-menu",
 							G_CALLBACK (tray_menu_cb), sticon);
-#endif
 
 	g_signal_connect (G_OBJECT (sticon), "activate",
 							G_CALLBACK (tray_menu_restore_cb), NULL);