aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/plugin-manager
diff options
context:
space:
mode:
authorSankar P <psankar@novell.com>2007-10-26 18:54:17 +0800
committerSankarasivasubramanian Pasupathilingam <psankar@src.gnome.org>2007-10-26 18:54:17 +0800
commit131a11a8a67c8d944a77227f7bed35aee1a127cb (patch)
tree2484b38c4290085d47998ed4dc0eaea0be8d063f /plugins/plugin-manager
parentd74d6cc9fb7763d19f0b7a794e27defd8bdd6a9b (diff)
downloadgsoc2013-evolution-131a11a8a67c8d944a77227f7bed35aee1a127cb.tar
gsoc2013-evolution-131a11a8a67c8d944a77227f7bed35aee1a127cb.tar.gz
gsoc2013-evolution-131a11a8a67c8d944a77227f7bed35aee1a127cb.tar.bz2
gsoc2013-evolution-131a11a8a67c8d944a77227f7bed35aee1a127cb.tar.lz
gsoc2013-evolution-131a11a8a67c8d944a77227f7bed35aee1a127cb.tar.xz
gsoc2013-evolution-131a11a8a67c8d944a77227f7bed35aee1a127cb.tar.zst
gsoc2013-evolution-131a11a8a67c8d944a77227f7bed35aee1a127cb.zip
** Fix for bug #461272
2007-10-26 Sankar P <psankar@novell.com> ** Fix for bug #461272 * plugin-manager.c: (eppm_selection_changed), (org_gnome_plugin_manager_manage): Configure button should not be enabled for all. configure button needs a hot-key. svn path=/trunk/; revision=34432
Diffstat (limited to 'plugins/plugin-manager')
-rw-r--r--plugins/plugin-manager/ChangeLog9
-rw-r--r--plugins/plugin-manager/plugin-manager.c9
2 files changed, 17 insertions, 1 deletions
diff --git a/plugins/plugin-manager/ChangeLog b/plugins/plugin-manager/ChangeLog
index 99c4d32087..3af1b4d780 100644
--- a/plugins/plugin-manager/ChangeLog
+++ b/plugins/plugin-manager/ChangeLog
@@ -1,3 +1,12 @@
+2007-10-26 Sankar P <psankar@novell.com>
+
+ ** Fix for bug #461272
+
+ * plugin-manager.c: (eppm_selection_changed),
+ (org_gnome_plugin_manager_manage):
+ Configure button should not be enabled for all.
+ configure button needs a hot-key.
+
2007-07-26 Sankar P <psankar@novell.com>
* plugin-manager.c: (eppm_response),
diff --git a/plugins/plugin-manager/plugin-manager.c b/plugins/plugin-manager/plugin-manager.c
index 10ad9072b4..52a3d0c93d 100644
--- a/plugins/plugin-manager/plugin-manager.c
+++ b/plugins/plugin-manager/plugin-manager.c
@@ -132,9 +132,16 @@ eppm_selection_changed(GtkTreeSelection *selection, Manager *m)
if (gtk_tree_selection_get_selected(selection, &model, &iter)) {
EPlugin *ep;
+ EPluginLibConfigureFunc configure;
+ gboolean enabled = FALSE;
gtk_tree_model_get(model, &iter, COL_PLUGIN_DATA, &ep, -1);
eppm_show_plugin(m, ep);
+
+ enabled = e_plugin_is_configurable (ep);
+
+ gtk_dialog_set_response_sensitive (m->dialog, RESPONSE_CONFIGURE, enabled);
+
} else {
eppm_show_plugin(m, NULL);
}
@@ -223,7 +230,7 @@ org_gnome_plugin_manager_manage(void *ep, ESMenuTargetShell *t)
m->dialog = (GtkDialog *)gtk_dialog_new_with_buttons(_("Plugin Manager"),
(GtkWindow *)gtk_widget_get_toplevel(t->target.widget),
GTK_DIALOG_DESTROY_WITH_PARENT,
- _("Configure"), RESPONSE_CONFIGURE,
+ _("Con_figure"), RESPONSE_CONFIGURE,
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
NULL);