allow hacking of config for on new message to work [asterix required]
This commit is contained in:
parent
107b593f77
commit
f2edb6d584
|
@ -750,12 +750,15 @@ class Preferences_window:
|
||||||
gtk.gdk.color_parse(colSt))
|
gtk.gdk.color_parse(colSt))
|
||||||
|
|
||||||
# on new message
|
# on new message
|
||||||
|
only_in_roster = True
|
||||||
if gajim.config.get('notify_on_new_message'):
|
if gajim.config.get('notify_on_new_message'):
|
||||||
self.xml.get_widget('notify_on_new_message_radiobutton').set_active(1)
|
self.xml.get_widget('notify_on_new_message_radiobutton').set_active(1)
|
||||||
elif gajim.config.get('autopopup'):
|
only_in_roster = False
|
||||||
self.xml.get_widget('popup_new_message_radiobutton').set_active(1)
|
if gajim.config.get('autopopup'):
|
||||||
else:
|
self.xml.get_widget('popup_new_message_radiobutton').set_active(True)
|
||||||
self.xml.get_widget('only_in_roster_radiobutton').set_active(1)
|
only_in_roster = False
|
||||||
|
if only_in_roster:
|
||||||
|
self.xml.get_widget('only_in_roster_radiobutton').set_active(True)
|
||||||
|
|
||||||
#notify on online statuses
|
#notify on online statuses
|
||||||
st = gajim.config.get('notify_on_online')
|
st = gajim.config.get('notify_on_online')
|
||||||
|
|
Loading…
Reference in New Issue