diff options
author | James Booth <boothj5@gmail.com> | 2016-04-18 00:26:17 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2016-04-18 00:26:17 +0100 |
commit | 12727744ab31b28eaec2f148f2ed22cdc7338a99 (patch) | |
tree | 6789de5138a20547ed46be1af8d26b8a48ccda1d /src/command/commands.c | |
parent | de65f505a80ab2cee79fbcc01d24c9eed01691e1 (diff) | |
download | profani-tty-12727744ab31b28eaec2f148f2ed22cdc7338a99.tar.gz |
Load/destroy tray icons on init/shutdown
Diffstat (limited to 'src/command/commands.c')
-rw-r--r-- | src/command/commands.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |