Mercurial > pidgin
comparison src/gtkblist.c @ 8938:88ec59dec95a
[gaim-migrate @ 9708]
Make the Tools->Privacy menu item be insensitive if there are no
accounts online that support privacy.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sat, 15 May 2004 22:39:09 +0000 |
parents | fd1a4ff1f7ed |
children | 19885cb8a24c |
comparison
equal
deleted
inserted
replaced
8937:fd1a4ff1f7ed | 8938:88ec59dec95a |
---|---|
2890 gaim_gtk_blist_update_protocol_actions(); | 2890 gaim_gtk_blist_update_protocol_actions(); |
2891 gaim_gtkpounce_menu_build(gtkblist->bpmenu); | 2891 gaim_gtkpounce_menu_build(gtkblist->bpmenu); |
2892 | 2892 |
2893 widget = gtk_item_factory_get_widget(gtkblist->ift, N_("/Tools/Room List")); | 2893 widget = gtk_item_factory_get_widget(gtkblist->ift, N_("/Tools/Room List")); |
2894 gtk_widget_set_sensitive(widget, gaim_roomlist_is_showable()); | 2894 gtk_widget_set_sensitive(widget, gaim_roomlist_is_showable()); |
2895 | |
2896 widget = gtk_item_factory_get_widget(gtkblist->ift, N_("/Tools/Privacy")); | |
2897 gtk_widget_set_sensitive(widget, gaim_gtk_privacy_is_showable()); | |
2895 } | 2898 } |
2896 | 2899 |
2897 /* this is called on all sorts of signals, and we have no reason to pass | 2900 /* this is called on all sorts of signals, and we have no reason to pass |
2898 * it anything, so it remains without arguments. If you need anything | 2901 * it anything, so it remains without arguments. If you need anything |
2899 * more specific, do as below, and create another callback that calls | 2902 * more specific, do as below, and create another callback that calls |