dynamic visibility of the filter
This commit is contained in:
parent
d2143adf61
commit
53fed1a5f5
|
@ -344,7 +344,8 @@
|
||||||
<property name="orientation">vertical</property>
|
<property name="orientation">vertical</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkEntry" id="roster_filter_entry">
|
<object class="GtkEntry" id="roster_filter_entry">
|
||||||
<property name="visible">True</property>
|
<property name="visible">False</property>
|
||||||
|
<property name="editable">False</property>
|
||||||
<property name="can_focus">True</property>
|
<property name="can_focus">True</property>
|
||||||
<signal name="insert_at_cursor" handler="on_roster_filter_entry_insert_at_cursor" />
|
<signal name="insert_at_cursor" handler="on_roster_filter_entry_insert_at_cursor" />
|
||||||
</object>
|
</object>
|
||||||
|
|
|
@ -4171,7 +4171,8 @@ class RosterWindow:
|
||||||
|
|
||||||
def on_show_roster_filter_menuitem_toggled(self, widget):
|
def on_show_roster_filter_menuitem_toggled(self, widget):
|
||||||
""" Show the roster filter entry """
|
""" Show the roster filter entry """
|
||||||
pass
|
self.xml.get_object('roster_filter_entry').set_visible(widget.get_active())
|
||||||
|
self.xml.get_object('roster_filter_entry').set_editable(widget.get_active())
|
||||||
|
|
||||||
def on_roster_hpaned_notify(self, pane, gparamspec):
|
def on_roster_hpaned_notify(self, pane, gparamspec):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue