summary refs log tree commit diff stats
path: root/src/fe-gtk/plugin-tray.c
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2013-04-02 11:55:54 -0700
committerBerke Viktor <bviktor@hexchat.org>2013-04-02 11:56:08 -0700
commit5e59578e28408b4fcf85de19fd301a5b02d96dec (patch)
treef382448bccf99bc932a1e07dbbdbe60f9625327a /src/fe-gtk/plugin-tray.c
parent7317535c28fe516b42b5fc73221e81c4ceee8b56 (diff)
Remove most of HexTray and one instance
You can still build HexTray manually if you want to try fixing it
Diffstat (limited to 'src/fe-gtk/plugin-tray.c')
-rw-r--r--src/fe-gtk/plugin-tray.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-gtk/plugin-tray.c b/src/fe-gtk/plugin-tray.c
index 6b5305cd..033cfaeb 100644
--- a/src/fe-gtk/plugin-tray.c
+++ b/src/fe-gtk/plugin-tray.c
@@ -853,7 +853,7 @@ tray_apply_setup (void)
 	}
 	else
 	{
-		if (prefs.hex_gui_tray && !hextray_mode () && !unity_mode ())
+		if (prefs.hex_gui_tray && !unity_mode ())
 			tray_init ();
 	}
 }
@@ -885,7 +885,7 @@ tray_plugin_init (hexchat_plugin *plugin_handle, char **plugin_name,
 
 	hexchat_hook_print (ph, "Focus Window", -1, tray_focus_cb, NULL);
 
-	if (prefs.hex_gui_tray && !hextray_mode () && !unity_mode ())
+	if (prefs.hex_gui_tray && !unity_mode ())
 		tray_init ();
 
 	return 1;       /* return 1 for success */