Show good status in systray when enabling it. Fix part of #1263

This commit is contained in:
Jean-Marie Traissard 2006-04-22 14:02:00 +00:00
parent e35e5029f1
commit 3642ea0fab
1 changed files with 2 additions and 0 deletions

View File

@ -479,6 +479,8 @@ class PreferencesWindow:
if widget.get_active():
gajim.config.set('trayicon', True)
gajim.interface.show_systray()
show = helpers.get_global_show()
gajim.interface.systray.change_status(show)
else:
gajim.config.set('trayicon', False)
gajim.interface.hide_systray()