aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2008-07-31 19:29:15 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2008-07-31 19:29:15 +0800
commit77bfb99eac375387bb5c851998e7006d4c440f0f (patch)
tree2c2a5882baed9ae5c4285a2c903cbbbd0f53bbdf /e-util
parente202e2f07ff9359e70f8c35d44160ff7ddd49a8b (diff)
downloadgsoc2013-evolution-77bfb99eac375387bb5c851998e7006d4c440f0f.tar
gsoc2013-evolution-77bfb99eac375387bb5c851998e7006d4c440f0f.tar.gz
gsoc2013-evolution-77bfb99eac375387bb5c851998e7006d4c440f0f.tar.bz2
gsoc2013-evolution-77bfb99eac375387bb5c851998e7006d4c440f0f.tar.lz
gsoc2013-evolution-77bfb99eac375387bb5c851998e7006d4c440f0f.tar.xz
gsoc2013-evolution-77bfb99eac375387bb5c851998e7006d4c440f0f.tar.zst
gsoc2013-evolution-77bfb99eac375387bb5c851998e7006d4c440f0f.zip
** Fixes bug #545568
2008-07-31 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #545568 * e-plugin.c (ep_load): Make sure system plugins are enabled on startup. * plugins/addressbook-file/org-gnome-addressbook-file.eplug.xml: * plugins/caldav/org-gnome-caldav.eplug.xml: * plugins/calendar-file/org-gnome-calendar-file.eplug.xml: * plugins/calendar-http/org-gnome-calendar-http.eplug.xml: * plugins/calendar-weather/org-gnome-calendar-weather.eplug.xml: * plugins/exchange-operations/org-gnome-exchange-operations.eplug.xml: * plugins/google-account-setup/org-gnome-evolution-google.eplug.xml: * plugins/groupwise-account-setup/org-gnome-gw-account-setup.eplug.xml: * plugins/hula-account-setup/org-gnome-hula-account-setup.eplug.xml: Add "system_plugin=true" so it's not shown in the Plugin Manager. These plugins are not designed to be disabled by the user. svn path=/trunk/; revision=35871
Diffstat (limited to 'e-util')
-rw-r--r--e-util/ChangeLog7
-rw-r--r--e-util/e-plugin.c5
2 files changed, 10 insertions, 2 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog
index ca1e193c40..785383c11b 100644
--- a/e-util/ChangeLog
+++ b/e-util/ChangeLog
@@ -1,3 +1,10 @@
+2008-07-31 Matthew Barnes <mbarnes@redhat.com>
+
+ ** Fixes part of bug #545568
+
+ * e-plugin.c (ep_load):
+ Make sure system plugins are enabled on startup.
+
2008-07-01 Matthew Barnes <mbarnes@redhat.com>
** Fixes part of bug #540282
diff --git a/e-util/e-plugin.c b/e-util/e-plugin.c
index b22c59b5f9..85c1edb060 100644
--- a/e-util/e-plugin.c
+++ b/e-util/e-plugin.c
@@ -470,9 +470,10 @@ ep_load(const char *filename, int load_level)
/* README: May be we can use load_levels to achieve the same thing.
But it may be confusing for a plugin writer */
is_system_plugin = e_plugin_xml_prop (root, "system_plugin");
- if (is_system_plugin && !strcmp (is_system_plugin, "true"))
+ if (is_system_plugin && !strcmp (is_system_plugin, "true")) {
+ e_plugin_enable (ep, TRUE);
ep->flags |= E_PLUGIN_FLAGS_SYSTEM_PLUGIN;
- else
+ } else
ep->flags &= ~E_PLUGIN_FLAGS_SYSTEM_PLUGIN;
g_free (is_system_plugin);