Commit 53fed1a5 authored by roidelapluie's avatar roidelapluie

dynamic visibility of the filter

parent d2143adf
......@@ -344,7 +344,8 @@
<property name="orientation">vertical</property>
<child>
<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>
<signal name="insert_at_cursor" handler="on_roster_filter_entry_insert_at_cursor" />
</object>
......
......@@ -4171,7 +4171,8 @@ def on_roster_filter_entry_insert_at_cursor(self, widget):
def on_show_roster_filter_menuitem_toggled(self, widget):
""" 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):
"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment