From a57d59edaf1da344f726325d9894253d519af875 Mon Sep 17 00:00:00 2001
From: Jean-Marie Traissard <jim@lapin.org>
Date: Tue, 9 Jan 2007 15:29:23 +0000
Subject: [PATCH] Don't redraw gc banner text when gc comes online, useless

---
 src/groupchat_control.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/groupchat_control.py b/src/groupchat_control.py
index 1029d9a36c..2a77a3b769 100644
--- a/src/groupchat_control.py
+++ b/src/groupchat_control.py
@@ -729,7 +729,8 @@ class GroupchatControl(ChatControlBase):
 	def got_connected(self):
 		gajim.gc_connected[self.account][self.room_jid] = True
 		ChatControlBase.got_connected(self)
-		self.draw_banner()
+		# We don't redraw the whole banner here, because only icon change
+		self._update_banner_state_image()
 
 	def got_disconnected(self):
 		self.list_treeview.get_model().clear()
-- 
GitLab