Mercurial > pidgin
comparison pidgin/gtkblist.c @ 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 |
comparison
equal
deleted
inserted
replaced
32719:0a184aea3efd | 32720:293cd82fc0fc |
---|---|
4547 "/BList/BuddiesMenu/JoinAChat", | 4547 "/BList/BuddiesMenu/JoinAChat", |
4548 "/BList/BuddiesMenu/GetUserInfo", | 4548 "/BList/BuddiesMenu/GetUserInfo", |
4549 "/BList/BuddiesMenu/AddBuddy", | 4549 "/BList/BuddiesMenu/AddBuddy", |
4550 "/BList/BuddiesMenu/AddChat", | 4550 "/BList/BuddiesMenu/AddChat", |
4551 "/BList/BuddiesMenu/AddGroup", | 4551 "/BList/BuddiesMenu/AddGroup", |
4552 "/BList/ToolsMenu/Privacy", | |
4552 }; | 4553 }; |
4553 | 4554 |
4554 static const int require_connection_size = sizeof(require_connection) | 4555 static const int require_connection_size = sizeof(require_connection) |
4555 / sizeof(*require_connection); | 4556 / sizeof(*require_connection); |
4556 | 4557 |
4580 action = gtk_ui_manager_get_action(gtkblist->ui, "/BList/BuddiesMenu/JoinAChat"); | 4581 action = gtk_ui_manager_get_action(gtkblist->ui, "/BList/BuddiesMenu/JoinAChat"); |
4581 gtk_action_set_sensitive(action, pidgin_blist_joinchat_is_showable()); | 4582 gtk_action_set_sensitive(action, pidgin_blist_joinchat_is_showable()); |
4582 | 4583 |
4583 action = gtk_ui_manager_get_action(gtkblist->ui, "/BList/BuddiesMenu/AddChat"); | 4584 action = gtk_ui_manager_get_action(gtkblist->ui, "/BList/BuddiesMenu/AddChat"); |
4584 gtk_action_set_sensitive(action, pidgin_blist_joinchat_is_showable()); | 4585 gtk_action_set_sensitive(action, pidgin_blist_joinchat_is_showable()); |
4585 | |
4586 action = gtk_ui_manager_get_action(gtkblist->ui, "/BList/ToolsMenu/Privacy"); | |
4587 gtk_action_set_sensitive(action, sensitive); | |
4588 | 4586 |
4589 action = gtk_ui_manager_get_action(gtkblist->ui, "/BList/ToolsMenu/RoomList"); | 4587 action = gtk_ui_manager_get_action(gtkblist->ui, "/BList/ToolsMenu/RoomList"); |
4590 gtk_action_set_sensitive(action, pidgin_roomlist_is_showable()); | 4588 gtk_action_set_sensitive(action, pidgin_roomlist_is_showable()); |
4591 } | 4589 } |
4592 | 4590 |