Remove tooltips when we close a groupchat window.

This commit is contained in:
Stephan Erb 2007-11-29 21:43:39 +00:00
parent 956737a364
commit 7b563e3734
1 changed files with 2 additions and 0 deletions

View File

@ -1563,6 +1563,8 @@ class GroupchatControl(ChatControlBase):
self.contact.jid, status = self.subject) self.contact.jid, status = self.subject)
def shutdown(self, status='offline'): 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, gajim.connections[self.account].send_gc_status(self.nick, self.room_jid,
show='offline', status=status) show='offline', status=status)
nick_list = gajim.contacts.get_nick_list(self.account, self.room_jid) nick_list = gajim.contacts.get_nick_list(self.account, self.room_jid)