totem r5649 - in trunk: . src/plugins
- From: hadess svn gnome org
- To: svn-commits-list gnome org
- Subject: totem r5649 - in trunk: . src/plugins
- Date: Sun, 7 Sep 2008 23:16:37 +0000 (UTC)
Author: hadess
Date: Sun Sep 7 23:16:37 2008
New Revision: 5649
URL: http://svn.gnome.org/viewvc/totem?rev=5649&view=rev
Log:
2008-09-08 Bastien Nocera <hadess hadess net>
* src/plugins/totem-plugins-engine.c
(totem_plugins_engine_activate_plugin): Don't ever disable
an invisible plugin
Modified:
trunk/ChangeLog
trunk/src/plugins/totem-plugins-engine.c
Modified: trunk/src/plugins/totem-plugins-engine.c
==============================================================================
--- trunk/src/plugins/totem-plugins-engine.c (original)
+++ trunk/src/plugins/totem-plugins-engine.c Sun Sep 7 23:16:37 2008
@@ -552,7 +552,7 @@
gboolean
totem_plugins_engine_activate_plugin (TotemPluginInfo *info)
{
- char *msg, *key_name;
+ char *msg;
GError *error = NULL;
gboolean ret;
@@ -562,9 +562,13 @@
return TRUE;
ret = totem_plugins_engine_activate_plugin_real (info, totem_plugins_object, &error);
- key_name = g_strdup_printf (GCONF_PLUGIN_ACTIVE, info->location);
- gconf_client_set_bool (client, key_name, ret, NULL);
- g_free (key_name);
+ if (info->visible != FALSE || ret != FALSE) {
+ char *key_name;
+
+ key_name = g_strdup_printf (GCONF_PLUGIN_ACTIVE, info->location);
+ gconf_client_set_bool (client, key_name, ret, NULL);
+ g_free (key_name);
+ }
info->active = ret;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]