diff 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
line wrap: on
line diff
--- a/src/gtkblist.c	Sat May 15 21:56:17 2004 +0000
+++ b/src/gtkblist.c	Sat May 15 22:39:09 2004 +0000
@@ -2892,6 +2892,9 @@
 
 	widget = gtk_item_factory_get_widget(gtkblist->ift, N_("/Tools/Room List"));
 	gtk_widget_set_sensitive(widget, gaim_roomlist_is_showable());
+
+	widget = gtk_item_factory_get_widget(gtkblist->ift, N_("/Tools/Privacy"));
+	gtk_widget_set_sensitive(widget, gaim_gtk_privacy_is_showable());
 }
 
 /* this is called on all sorts of signals, and we have no reason to pass