show the account modification window when we launch gajim and no account configured

This commit is contained in:
Yann Leboulanger 2005-03-08 18:06:18 +00:00
parent 3777c514da
commit e6b04e8159
1 changed files with 4 additions and 0 deletions

View File

@ -2728,6 +2728,10 @@ class roster_window:
self.hidden_lines = self.plugin.config['hiddenlines'].split('\t') self.hidden_lines = self.plugin.config['hiddenlines'].split('\t')
self.draw_roster() 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 systrayDummy:
"""Class when we don't want icon in the systray""" """Class when we don't want icon in the systray"""