prevent traceback when there are unread message on startup

This commit is contained in:
Yann Leboulanger 2009-08-27 20:09:57 +02:00
parent 9ada82a3eb
commit 88fe4f8e36
1 changed files with 3 additions and 3 deletions

View File

@ -3445,13 +3445,13 @@ class Interface:
# set the icon to all windows # set the icon to all windows
gtk.window_set_default_icon(pix) gtk.window_set_default_icon(pix)
self.init_emoticons()
self.make_regexps()
self.roster = roster_window.RosterWindow() self.roster = roster_window.RosterWindow()
for account in gajim.connections: for account in gajim.connections:
gajim.connections[account].load_roster_from_db() gajim.connections[account].load_roster_from_db()
self.init_emoticons()
self.make_regexps()
# get instances for windows/dialogs that will show_all()/hide() # get instances for windows/dialogs that will show_all()/hide()
self.instances['file_transfers'] = dialogs.FileTransfersWindow() self.instances['file_transfers'] = dialogs.FileTransfersWindow()