Skip to content
Snippets Groups Projects
Commit 538662cc authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

change the subject in the subject_entry when we switch page in groupchat window

parent 7bf93222
No related branches found
No related tags found
No related merge requests found
......@@ -88,8 +88,9 @@ class Groupchat_window(Chat):
if self.childs[jid] == new_child:
new_jid = jid
break
self.set_subject(self, new_jid, subject)
Chat.on_chat_notebook_switch_page(notebook, page, page_num)
self.xml.get_widget('subject_entry').set_text(\
self.subjects[new_jid])
Chat.on_chat_notebook_switch_page(self, notebook, page, page_num)
def get_role_iter(self, room_jid, role):
model = self.list_treeview[room_jid].get_model()
......
......@@ -7053,6 +7053,8 @@ Custom</property>
<property name="tab_pos">GTK_POS_TOP</property>
<property name="scrollable">True</property>
<property name="enable_popup">False</property>
<signal name="switch_page" handler="on_chat_notebook_switch_page" last_modification_time="Wed, 16 Mar 2005 20:58:25 GMT"/>
<signal name="key_press_event" handler="on_chat_notebook_key_press_event" last_modification_time="Wed, 16 Mar 2005 20:58:38 GMT"/>
<child>
<widget class="GtkVBox" id="gc_vbox">
......
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