From 7b563e3734aae614df2eaf2d0c5a5205b1787337 Mon Sep 17 00:00:00 2001
From: Stephan Erb <steve-e@h3c.de>
Date: Thu, 29 Nov 2007 21:43:39 +0000
Subject: [PATCH] Remove tooltips when we close a groupchat window.

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

diff --git a/src/groupchat_control.py b/src/groupchat_control.py
index 63f718a541..9b150cc205 100644
--- a/src/groupchat_control.py
+++ b/src/groupchat_control.py
@@ -1563,6 +1563,8 @@ class GroupchatControl(ChatControlBase):
 			self.contact.jid, status = self.subject)
 
 	def shutdown(self, status='offline'):
+		# destroy banner tooltip - bug #pygtk for that!
+		self.subject_tooltip.destroy()
 		gajim.connections[self.account].send_gc_status(self.nick, self.room_jid,
 							show='offline', status=status)
 		nick_list = gajim.contacts.get_nick_list(self.account, self.room_jid)
-- 
GitLab