show roster when it's hidden and we try to remove systray icon. Fixes #2421
This commit is contained in:
parent
b49eb06010
commit
f6df3bbbee
|
@ -511,6 +511,8 @@ class PreferencesWindow:
|
||||||
gajim.interface.systray.change_status(show)
|
gajim.interface.systray.change_status(show)
|
||||||
else:
|
else:
|
||||||
gajim.config.set('trayicon', False)
|
gajim.config.set('trayicon', False)
|
||||||
|
if not gajim.interface.roster.window.get_property('visible'):
|
||||||
|
gajim.interface.roster.window.present()
|
||||||
gajim.interface.hide_systray()
|
gajim.interface.hide_systray()
|
||||||
gajim.config.set('show_roster_on_startup', True) # no tray, show roster!
|
gajim.config.set('show_roster_on_startup', True) # no tray, show roster!
|
||||||
gajim.interface.roster.draw_roster()
|
gajim.interface.roster.draw_roster()
|
||||||
|
|
Loading…
Reference in New Issue