prevent traceback when there are unread message on startup
This commit is contained in:
parent
9ada82a3eb
commit
88fe4f8e36
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue