Skip to content
Snippets Groups Projects
Commit 1f5e991a authored by nkour's avatar nkour
Browse files

remove tab should have the show status image show/hide code, cause switch page is not enough

parent e8965ae8
No related branches found
No related tags found
No related merge requests found
......@@ -153,6 +153,14 @@ class Tabbed_chat_window(chat.Chat):
if len(self.xmls) > 0:
del self.users[jid]
jid = self.get_active_jid() # get the new active jid
nontabbed_status_image = self.xmls[jid].get_widget(
'nontabbed_status_image')
if len(self.xmls) > 1:
nontabbed_status_image.hide()
else:
nontabbed_status_image.show()
def new_user(self, user):
self.names[user.jid] = user.name
self.xmls[user.jid] = gtk.glade.XML(GTKGUI_GLADE, 'chats_vbox', APP)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment