# HG changeset patch # User Gary Kramlich # Date 1130223770 0 # Node ID 1f7f4f850db58f311094789e30a44cc417a27363 # Parent b72ea98397c54ae9238fd9dd0c83c462fb1c2b80 [gaim-migrate @ 14104] patch from Kevin Stange to make the preferences button insensitive when the plugins window is initially created. committer: Tailor Script diff -r b72ea98397c5 -r 1f7f4f850db5 src/gtkplugin.c --- 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();