popup notifications for new message by default
This commit is contained in:
parent
17c65a9d24
commit
247647c336
2 changed files with 3 additions and 2 deletions
|
@ -42,7 +42,7 @@ class Config:
|
||||||
'autopopup': [ opt_bool, False ],
|
'autopopup': [ opt_bool, False ],
|
||||||
'notify_on_signin': [ opt_bool, True ],
|
'notify_on_signin': [ opt_bool, True ],
|
||||||
'notify_on_signout': [ opt_bool, False ],
|
'notify_on_signout': [ opt_bool, False ],
|
||||||
'notify_on_new_message': [ opt_bool, False ],
|
'notify_on_new_message': [ opt_bool, True ],
|
||||||
'autopopupaway': [ opt_bool, False ],
|
'autopopupaway': [ opt_bool, False ],
|
||||||
'ignore_unknown_contacts': [ opt_bool, False ],
|
'ignore_unknown_contacts': [ opt_bool, False ],
|
||||||
'showoffline': [ opt_bool, False ],
|
'showoffline': [ opt_bool, False ],
|
||||||
|
|
|
@ -233,7 +233,8 @@ class PreferencesWindow:
|
||||||
# on new message
|
# on new message
|
||||||
only_in_roster = True
|
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(
|
||||||
|
True)
|
||||||
only_in_roster = False
|
only_in_roster = False
|
||||||
if gajim.config.get('autopopup'):
|
if gajim.config.get('autopopup'):
|
||||||
self.xml.get_widget('popup_new_message_radiobutton').set_active(True)
|
self.xml.get_widget('popup_new_message_radiobutton').set_active(True)
|
||||||
|
|
Loading…
Add table
Reference in a new issue