Load/destroy tray icons on init/shutdown

This commit is contained in:
James Booth
2016-04-18 00:26:17 +01:00
parent de65f505a8
commit 12727744ab
4 changed files with 14 additions and 14 deletions

View File

@@ -5546,9 +5546,9 @@ cmd_tray(ProfWin *window, const char *const command, gchar **args)
gboolean new = prefs_get_boolean(PREF_TRAY);
if (old != new) {
if (new) {
create_tray();
tray_enable();
} else {
destroy_tray();
tray_disable();
}
}
return TRUE;