From e6b04e8159005c1b75f34494b8eb64748143f572 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger <asterix@lagaule.org> Date: Tue, 8 Mar 2005 18:06:18 +0000 Subject: [PATCH] show the account modification window when we launch gajim and no account configured --- plugins/gtkgui/gtkgui.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/gtkgui/gtkgui.py b/plugins/gtkgui/gtkgui.py index 6ae914ba1..d873b93c2 100644 --- a/plugins/gtkgui/gtkgui.py +++ b/plugins/gtkgui/gtkgui.py @@ -2728,6 +2728,10 @@ class roster_window: self.hidden_lines = self.plugin.config['hiddenlines'].split('\t') self.draw_roster() + if len(self.plugin.accounts) == 0: + self.plugin.windows['accounts_window'] = Accounts_window(self.plugin) + self.plugin.windows['account_modification_window'] = \ + Account_modification_window(self.plugin) class systrayDummy: """Class when we don't want icon in the systray"""