From 12727744ab31b28eaec2f148f2ed22cdc7338a99 Mon Sep 17 00:00:00 2001 From: James Booth Date: Mon, 18 Apr 2016 00:26:17 +0100 Subject: Load/destroy tray icons on init/shutdown --- src/command/commands.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/command/commands.c') diff --git a/src/command/commands.c b/src/command/commands.c index e1eba540..50877227 100644 --- a/src/command/commands.c +++ b/src/command/commands.c @@ -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; -- cgit 1.4.1-2-gfad0