cpw.qulogic.gtk3: 9f79695c: This Privacy senstivity-toggle can be ro...

qulogic at pidgin.im qulogic at pidgin.im
Mon Feb 27 18:12:10 EST 2012


----------------------------------------------------------------------
Revision: 9f79695c3e48e0a4e83e4b78b9ca33a462cd05ce
Parent:   21553105994e213d32914c9d5806a1845f567ca3
Author:   qulogic at pidgin.im
Date:     02/26/12 01:40:46
Branch:   im.pidgin.cpw.qulogic.gtk3
URL: http://d.pidgin.im/viewmtn/revision/info/9f79695c3e48e0a4e83e4b78b9ca33a462cd05ce

Changelog: 

This Privacy senstivity-toggle can be rolled in with the others.

Changes against parent 21553105994e213d32914c9d5806a1845f567ca3

  patched  pidgin/gtkblist.c

-------------- next part --------------
============================================================
--- pidgin/gtkblist.c	646dc3f20fd59e29a5be308afcee28e082e23bf6
+++ pidgin/gtkblist.c	415b4fba7341a7bf08081cfd761a99a96eac8767
@@ -4549,6 +4549,7 @@ static const char *require_connection[] 
 	"/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 @@ update_menu_bar(PidginBuddyList *gtkblis
 	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());
 }


More information about the Commits mailing list