changeset 11813:1f7f4f850db5

[gaim-migrate @ 14104] patch from Kevin Stange to make the preferences button insensitive when the plugins window is initially created. committer: Tailor Script <tailor@pidgin.im>
author Gary Kramlich <grim@reaperworld.com>
date Tue, 25 Oct 2005 07:02:50 +0000
parents b72ea98397c5
children fa17fc619f17
files src/gtkplugin.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkplugin.c	Tue Oct 25 06:41:59 2005 +0000
+++ b/src/gtkplugin.c	Tue Oct 25 07:02:50 2005 +0000
@@ -303,6 +303,7 @@
 						    NULL);
 	pref_button = gtk_dialog_add_button(GTK_DIALOG(plugin_dialog), GTK_STOCK_PREFERENCES, 98121);
 	gtk_dialog_add_button(GTK_DIALOG(plugin_dialog), GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE);
+	gtk_widget_set_sensitive(pref_button, FALSE);
 	gtk_window_set_role(GTK_WINDOW(plugin_dialog), "plugins");
 
 	sw = gtk_scrolled_window_new(NULL,NULL);
@@ -316,7 +317,7 @@
 					     1, GTK_SORT_ASCENDING);
 
 	update_plugin_list(ls);
-	
+
 	event_view = gtk_tree_view_new_with_model (GTK_TREE_MODEL(ls));
 
 	rend = gtk_cell_renderer_toggle_new();