From c7eb45aef524d8f012511cfa944b1f3583b7f48d Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Thu, 24 Nov 2005 12:39:21 +0000 Subject: [PATCH] all accounts to default to the same settings. fixing #1140 --- src/config.py | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/src/config.py b/src/config.py index 021e444bf..d47cb180b 100644 --- a/src/config.py +++ b/src/config.py @@ -2496,17 +2496,9 @@ class AccountCreationWizardWindow: self.go_online_checkbutton = self.xml.get_widget('go_online_checkbutton') self.progressbar = self.xml.get_widget('progressbar') - # Some vars - self.sync = False - self.autoconnect = False + # some vars self.update_progressbar_timeout_id = None - if len(gajim.connections) == 0: # is it the first accound we're creating? - # the first account *has* to sync by default - self.sync = True - # the first account *has* to autoconnect by default - self.autoconnect = True - self.notebook.set_current_page(0) self.advanced_button.set_no_show_all(True) self.xml.signal_autoconnect(self) @@ -2710,9 +2702,9 @@ _('You can set advanced account options by pressing Advanced button, or later by config['password'] = password config['resource'] = 'Gajim' config['priority'] = 5 - config['autoconnect'] = self.autoconnect + config['autoconnect'] = True config['no_log_for'] = '' - config['sync_with_global_status'] = self.sync + config['sync_with_global_status'] = True config['proxy'] = '' config['usessl'] = False config['use_custom_host'] = False