From 9f94caf4ec457bfbdcffcfdc711ca590259441c5 Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Thu, 18 Jul 2013 13:39:14 +0200
Subject: [PATCH] improve connection with big roster. See #7125

---
 src/roster_window.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/roster_window.py b/src/roster_window.py
index 3ebd8e5cfc..5b4b6642bf 100644
--- a/src/roster_window.py
+++ b/src/roster_window.py
@@ -266,7 +266,7 @@ class RosterWindow:
         Add all contacts and groups of the given account to roster, draw them
         and account
         """
-        self.starting = True
+        self._before_fill()
         jids = gajim.contacts.get_jid_list(account)
 
         for jid in jids:
@@ -282,7 +282,7 @@ class RosterWindow:
             self.draw_group(group, account)
         self.draw_account(account)
 
-        self.starting = False
+        self._after_fill()
 
     def _add_group_iter(self, account, group):
         """
-- 
GitLab