# HG changeset patch # User Mark Doliner # Date 1130302773 0 # Node ID 9d3ab7919ee05279a730e48c75c7db9bab459f52 # Parent 9ca386c15ffe1d4419472a2b2098139d695ac848 [gaim-migrate @ 14124] Clear the plugin details label when deselecting the currently selected plugin (CTRL+click). This dialog still have some problems. For example, select a plugin, enable it, click on a different plugin in the list, then go back to the one you enabled. Watch the expanded plugin details area... not everything is showing up or something. committer: Tailor Script diff -r 9ca386c15ffe -r 9d3ab7919ee0 src/gtkplugin.c --- a/src/gtkplugin.c Wed Oct 26 04:53:36 2005 +0000 +++ b/src/gtkplugin.c Wed Oct 26 04:59:33 2005 +0000 @@ -225,8 +225,14 @@ GValue val = { 0, }; GaimPlugin *plug; - if (! gtk_tree_selection_get_selected (sel, &model, &iter)) + if (!gtk_tree_selection_get_selected (sel, &model, &iter)) + { + /* Clear the old plugin details */ + gtk_label_set_markup(GTK_LABEL(plugin_details), ""); + gtk_widget_set_sensitive(pref_button, FALSE); return; + } + gtk_tree_model_get_value (model, &iter, 2, &val); plug = g_value_get_pointer(&val);