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)
|
||||
else:
|
||||
systray_combobox.set_active(2)
|
||||
if not gajim.interface.systray_capabilities:
|
||||
systray_combobox.set_sensitive(False)
|
||||
|
||||
# sounds
|
||||
if gajim.config.get('sounds_on'):
|
||||
|
|
|
@ -5809,10 +5809,8 @@ class RosterWindow:
|
|||
if gajim.config.get('show_roster_on_startup'):
|
||||
self.window.show_all()
|
||||
else:
|
||||
if not gajim.config.get('trayicon') or not \
|
||||
gajim.interface.systray_capabilities:
|
||||
# cannot happen via GUI, but I put this incase user touches
|
||||
# config. without trayicon, he or she should see the roster!
|
||||
if gajim.config.get('trayicon') != 'always':
|
||||
# Without trayicon, user should see the roster!
|
||||
self.window.show_all()
|
||||
gajim.config.set('show_roster_on_startup', True)
|
||||
|
||||
|
|
Loading…
Reference in New Issue