Commit 304686ba authored by roidelapluie's avatar roidelapluie

GUI implementation of the menu item "Roster filtering"

parent a471c299
......@@ -218,6 +218,17 @@
<signal name="toggled" handler="on_show_roster_menuitem_toggled"/>
</object>
</child>
<child>
<object class="GtkCheckMenuItem" id="show_roster_filter_menuitem">
<property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
<property name="label" translatable="yes">Show Roster F_ilter</property>
<property name="use_underline">True</property>
<property name="active">False</property>
<accelerator key="I" signal="activate" modifiers="GDK_CONTROL_MASK"/>
<signal name="toggled" handler="on_show_roster_filter_menuitem_toggled"/>
</object>
</child>
<child>
<object class="GtkSeparatorMenuItem" id="separator3">
<property name="visible">True</property>
......
......@@ -4165,6 +4165,9 @@ def on_show_roster_menuitem_toggled(self, widget):
if self.hpaned.get_child2() is not None:
self.show_roster_vbox(widget.get_active())
# def on_show_roster_filter_menuitem_toggled(self, widget):
# """ Show the roster filter textentry """
def on_roster_hpaned_notify(self, pane, gparamspec):
"""
Keep changing the width of the roster
......
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