show roster when it's hidden and we try to remove systray icon. Fixes #2421

This commit is contained in:
Yann Leboulanger 2006-09-16 11:23:18 +00:00
parent b49eb06010
commit f6df3bbbee
1 changed files with 2 additions and 0 deletions

View File

@ -511,6 +511,8 @@ class PreferencesWindow:
gajim.interface.systray.change_status(show)
else:
gajim.config.set('trayicon', False)
if not gajim.interface.roster.window.get_property('visible'):
gajim.interface.roster.window.present()
gajim.interface.hide_systray()
gajim.config.set('show_roster_on_startup', True) # no tray, show roster!
gajim.interface.roster.draw_roster()