removing extra identation. I also want to mention that the previous commit shouldn't have had all those files. It was by accident. Anyways the previous commit also fixed a GUI bug for the Groupchat: now groupchat window and chat window use *different* hboxes
This commit is contained in:
parent
2e668210c2
commit
0a15ecc5b4
1 changed files with 2 additions and 2 deletions
|
@ -184,7 +184,7 @@ class Chat:
|
||||||
|
|
||||||
if self.widget_name == 'tabbed_chat_window':
|
if self.widget_name == 'tabbed_chat_window':
|
||||||
nontabbed_status_image = self.xmls[jid].get_widget(
|
nontabbed_status_image = self.xmls[jid].get_widget(
|
||||||
'nontabbed_status_image')
|
'nontabbed_status_image')
|
||||||
if len(self.xmls) > 1:
|
if len(self.xmls) > 1:
|
||||||
nontabbed_status_image.hide()
|
nontabbed_status_image.hide()
|
||||||
else:
|
else:
|
||||||
|
@ -193,7 +193,7 @@ class Chat:
|
||||||
conversation_textview.grab_focus()
|
conversation_textview.grab_focus()
|
||||||
|
|
||||||
def set_active_tab(self, jid):
|
def set_active_tab(self, jid):
|
||||||
self.notebook.set_current_page( self.notebook.page_num(self.childs[jid]) )
|
self.notebook.set_current_page(self.notebook.page_num(self.childs[jid]))
|
||||||
|
|
||||||
def remove_tab(self, jid, kind): #kind is 'chats' or 'gc'
|
def remove_tab(self, jid, kind): #kind is 'chats' or 'gc'
|
||||||
if len(self.xmls) == 1:
|
if len(self.xmls) == 1:
|
||||||
|
|
Loading…
Add table
Reference in a new issue