improve connection with big roster. See #7125

This commit is contained in:
Yann Leboulanger 2013-07-18 13:39:14 +02:00
parent b9679003b3
commit 9f94caf4ec
1 changed files with 2 additions and 2 deletions

View File

@ -266,7 +266,7 @@ class RosterWindow:
Add all contacts and groups of the given account to roster, draw them Add all contacts and groups of the given account to roster, draw them
and account and account
""" """
self.starting = True self._before_fill()
jids = gajim.contacts.get_jid_list(account) jids = gajim.contacts.get_jid_list(account)
for jid in jids: for jid in jids:
@ -282,7 +282,7 @@ class RosterWindow:
self.draw_group(group, account) self.draw_group(group, account)
self.draw_account(account) self.draw_account(account)
self.starting = False self._after_fill()
def _add_group_iter(self, account, group): def _add_group_iter(self, account, group):
""" """