change the subject in the subject_entry when we switch page in groupchat window
This commit is contained in:
parent
7bf9322293
commit
538662ccfc
2 changed files with 5 additions and 2 deletions
|
@ -88,8 +88,9 @@ class Groupchat_window(Chat):
|
||||||
if self.childs[jid] == new_child:
|
if self.childs[jid] == new_child:
|
||||||
new_jid = jid
|
new_jid = jid
|
||||||
break
|
break
|
||||||
self.set_subject(self, new_jid, subject)
|
self.xml.get_widget('subject_entry').set_text(\
|
||||||
Chat.on_chat_notebook_switch_page(notebook, page, page_num)
|
self.subjects[new_jid])
|
||||||
|
Chat.on_chat_notebook_switch_page(self, notebook, page, page_num)
|
||||||
|
|
||||||
def get_role_iter(self, room_jid, role):
|
def get_role_iter(self, room_jid, role):
|
||||||
model = self.list_treeview[room_jid].get_model()
|
model = self.list_treeview[room_jid].get_model()
|
||||||
|
|
|
@ -7053,6 +7053,8 @@ Custom</property>
|
||||||
<property name="tab_pos">GTK_POS_TOP</property>
|
<property name="tab_pos">GTK_POS_TOP</property>
|
||||||
<property name="scrollable">True</property>
|
<property name="scrollable">True</property>
|
||||||
<property name="enable_popup">False</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>
|
<child>
|
||||||
<widget class="GtkVBox" id="gc_vbox">
|
<widget class="GtkVBox" id="gc_vbox">
|
||||||
|
|
Loading…
Add table
Reference in a new issue