don't use removed variables
This commit is contained in:
parent
478454985b
commit
39dc648ec8
|
@ -297,8 +297,6 @@ class PreferencesWindow:
|
||||||
systray_combobox.set_active(1)
|
systray_combobox.set_active(1)
|
||||||
else:
|
else:
|
||||||
systray_combobox.set_active(2)
|
systray_combobox.set_active(2)
|
||||||
if not gajim.interface.systray_capabilities:
|
|
||||||
systray_combobox.set_sensitive(False)
|
|
||||||
|
|
||||||
# sounds
|
# sounds
|
||||||
if gajim.config.get('sounds_on'):
|
if gajim.config.get('sounds_on'):
|
||||||
|
|
|
@ -5809,10 +5809,8 @@ class RosterWindow:
|
||||||
if gajim.config.get('show_roster_on_startup'):
|
if gajim.config.get('show_roster_on_startup'):
|
||||||
self.window.show_all()
|
self.window.show_all()
|
||||||
else:
|
else:
|
||||||
if not gajim.config.get('trayicon') or not \
|
if gajim.config.get('trayicon') != 'always':
|
||||||
gajim.interface.systray_capabilities:
|
# Without trayicon, user should see the roster!
|
||||||
# cannot happen via GUI, but I put this incase user touches
|
|
||||||
# config. without trayicon, he or she should see the roster!
|
|
||||||
self.window.show_all()
|
self.window.show_all()
|
||||||
gajim.config.set('show_roster_on_startup', True)
|
gajim.config.set('show_roster_on_startup', True)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue