brasero r810 - in trunk: . src
- From: philippr svn gnome org
- To: svn-commits-list gnome org
- Subject: brasero r810 - in trunk: . src
- Date: Sat, 10 May 2008 19:01:19 +0100 (BST)
Author: philippr
Date: Sat May 10 18:01:18 2008
New Revision: 810
URL: http://svn.gnome.org/viewvc/brasero?rev=810&view=rev
Log:
Fix #532391 â brasero does not save user settings
and possibly #530231 â Brasero is not remembering plugin settings
* src/burn-plugin-manager.c
(brasero_plugin_manager_plugin_state_changed):
Modified:
trunk/ChangeLog
trunk/src/burn-plugin-manager.c
Modified: trunk/src/burn-plugin-manager.c
==============================================================================
--- trunk/src/burn-plugin-manager.c (original)
+++ trunk/src/burn-plugin-manager.c Sat May 10 18:01:18 2008
@@ -290,11 +290,23 @@
gconf_client_notify_remove (client, priv->notification);
priv->notification = 0;
}
- res = gconf_client_set_list (client,
- BRASERO_PLUGIN_KEY,
- GCONF_VALUE_STRING,
- list,
- &error);
+
+ if (list)
+ res = gconf_client_set_list (client,
+ BRASERO_PLUGIN_KEY,
+ GCONF_VALUE_STRING,
+ list,
+ &error);
+ else {
+ gchar *none = "none";
+
+ list = g_slist_prepend (list, none);
+ res = gconf_client_set_list (client,
+ BRASERO_PLUGIN_KEY,
+ GCONF_VALUE_STRING,
+ list,
+ &error);
+ }
if (!res)
BRASERO_BURN_LOG ("Error saving list of active plugins: %s",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]