improve connection with big roster. See #7125

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

View File

@ -280,7 +280,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:
@ -296,7 +296,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):
""" """