summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-04-07 11:47:13 +0200
committerStefano Karapetsas <[email protected]>2013-04-07 11:47:13 +0200
commit5e23eed3cb63e6d27dec1a08b614098d5a6b2b86 (patch)
tree7088af90a51dfd3ffa9a62fc7ec1ef911ffbe98b
parent059e1f11c7f24f63bb849adf88775be4b0031c35 (diff)
downloadmate-desktop-5e23eed3cb63e6d27dec1a08b614098d5a6b2b86.tar.bz2
mate-desktop-5e23eed3cb63e6d27dec1a08b614098d5a6b2b86.tar.xz
mate-conf-import: Fix empty string values
-rwxr-xr-xmate-conf/mate-conf-import5
1 files changed, 3 insertions, 2 deletions
diff --git a/mate-conf/mate-conf-import b/mate-conf/mate-conf-import
index 2517b88..96a75a6 100755
--- a/mate-conf/mate-conf-import
+++ b/mate-conf/mate-conf-import
@@ -166,8 +166,9 @@ for convert_file in convert_files:
if no_background and gsettings_schema == "org.mate.background":
continue
- debug_message(gsettings_schema, gsettings_key, value)
- settings.set_string(gsettings_key, value)
+ if value != None:
+ debug_message(gsettings_schema, gsettings_key, value)
+ settings.set_string(gsettings_key, value)
# list
elif child.attrib["type"] == "list":