From 2e8a39005eb6b8819ca9ff7fc5e2e256280f5327 Mon Sep 17 00:00:00 2001
From: Stephan Erb <steve-e@h3c.de>
Date: Wed, 27 Jun 2007 10:32:54 +0000
Subject: [PATCH] Redraw groups if we add/remove contacts. Fixes #3192

---
 src/roster_window.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/roster_window.py b/src/roster_window.py
index 46e6fbe4a8..53bfd4e6a8 100644
--- a/src/roster_window.py
+++ b/src/roster_window.py
@@ -354,6 +354,7 @@ class RosterWindow:
 		elif not groups:
 			groups = [_('General')]
 		for group in groups:
+			self.draw_group(group, account)
 			iterG = self.get_group_iter(group, account)
 			if not iterG:
 				IterAcct = self.get_account_iter(account)
@@ -556,6 +557,8 @@ class RosterWindow:
 					else:
 						if gajim.groups[account].has_key(group):
 							del gajim.groups[account][group]
+				else:
+					self.draw_group(group, account)
 
 		# re-add children
 		for child in children:
-- 
GitLab