From 583c3e31819d3e82778e65774a8ffd1385f872f6 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sun, 3 Jun 2007 14:10:54 +0000 Subject: [PATCH] hide correct menuitems due to context menu refactoization --- src/roster_window.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/roster_window.py b/src/roster_window.py index 2a331c972..429715eec 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -2204,11 +2204,9 @@ class RosterWindow: # Remove many items when it's self contact row if our_jid: - for menuitem in (rename_menuitem, edit_groups_menuitem, - above_subscription_separator, subscription_menuitem, - remove_from_roster_menuitem): - menuitem.set_no_show_all(True) - menuitem.hide() + menuitem = xml.get_widget('manage_contact') + menuitem.set_no_show_all(True) + menuitem.hide() # Unsensitive many items when account is offline if gajim.connections[account].connected < 2: