changeset 32720:293cd82fc0fc

This Privacy senstivity-toggle can be rolled in with the others.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sun, 26 Feb 2012 06:40:46 +0000
parents 0a184aea3efd
children 9e860c2d34a8
files pidgin/gtkblist.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkblist.c	Sun Feb 26 06:40:05 2012 +0000
+++ b/pidgin/gtkblist.c	Sun Feb 26 06:40:46 2012 +0000
@@ -4549,6 +4549,7 @@
 	"/BList/BuddiesMenu/AddBuddy",
 	"/BList/BuddiesMenu/AddChat",
 	"/BList/BuddiesMenu/AddGroup",
+	"/BList/ToolsMenu/Privacy",
 };
 
 static const int require_connection_size = sizeof(require_connection)
@@ -4583,9 +4584,6 @@
 	action = gtk_ui_manager_get_action(gtkblist->ui, "/BList/BuddiesMenu/AddChat");
 	gtk_action_set_sensitive(action, pidgin_blist_joinchat_is_showable());
 
-	action = gtk_ui_manager_get_action(gtkblist->ui, "/BList/ToolsMenu/Privacy");
-	gtk_action_set_sensitive(action, sensitive);
-
 	action = gtk_ui_manager_get_action(gtkblist->ui, "/BList/ToolsMenu/RoomList");
 	gtk_action_set_sensitive(action, pidgin_roomlist_is_showable());
 }