Remove most of HexTray and one instance

You can still build HexTray manually if you want to try fixing it
This commit is contained in:
Berke Viktor
2013-04-02 11:55:54 -07:00
parent 7317535c28
commit 5e59578e28
9 changed files with 7 additions and 181 deletions

View File

@@ -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 */