From 304686ba2131191ddf83eb7025f2b2f291cba658 Mon Sep 17 00:00:00 2001 From: Julien Pivotto Date: Mon, 18 Apr 2011 09:50:45 +0200 Subject: [PATCH] GUI implementation of the menu item "Roster filtering" --- data/gui/roster_window.ui | 11 +++++++++++ src/roster_window.py | 3 +++ 2 files changed, 14 insertions(+) diff --git a/data/gui/roster_window.ui b/data/gui/roster_window.ui index ea85ca8d7..647f84410 100644 --- a/data/gui/roster_window.ui +++ b/data/gui/roster_window.ui @@ -218,6 +218,17 @@ + + + True + GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK + Show Roster F_ilter + True + False + + + + True diff --git a/src/roster_window.py b/src/roster_window.py index 001cb3be1..472604d29 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -4165,6 +4165,9 @@ class RosterWindow: 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