Show good status in systray when enabling it. Fix part of #1263
This commit is contained in:
parent
e35e5029f1
commit
3642ea0fab
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue