From 247647c33655731f62147e0317a565f39022ff92 Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Thu, 21 Jul 2005 21:03:36 +0000 Subject: [PATCH] popup notifications for new message by default --- src/common/config.py | 2 +- src/config.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/common/config.py b/src/common/config.py index 401fdc03d..9986a0986 100644 --- a/src/common/config.py +++ b/src/common/config.py @@ -42,7 +42,7 @@ class Config: 'autopopup': [ opt_bool, False ], 'notify_on_signin': [ opt_bool, True ], 'notify_on_signout': [ opt_bool, False ], - 'notify_on_new_message': [ opt_bool, False ], + 'notify_on_new_message': [ opt_bool, True ], 'autopopupaway': [ opt_bool, False ], 'ignore_unknown_contacts': [ opt_bool, False ], 'showoffline': [ opt_bool, False ], diff --git a/src/config.py b/src/config.py index d69156f4f..2f757d48a 100644 --- a/src/config.py +++ b/src/config.py @@ -233,7 +233,8 @@ class PreferencesWindow: # on new message only_in_roster = True 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 if gajim.config.get('autopopup'): self.xml.get_widget('popup_new_message_radiobutton').set_active(True)