summaryrefslogtreecommitdiff
path: root/src/config/GSettingsEngine.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2022-05-21 19:43:54 +0200
committerJörg Frings-Fürst <debian@jff.email>2022-05-21 19:43:54 +0200
commit9e0516824a0f79514aca5d6dbb1aa21cd247ba05 (patch)
tree9764868c78e104cc18bb6c59f6a8a8a952b30d28 /src/config/GSettingsEngine.vala
parent4c548cd33f0614e666d9049e41b4f129629cf182 (diff)
New upstream version 0.30.16upstream/0.30.16
Diffstat (limited to 'src/config/GSettingsEngine.vala')
-rw-r--r--src/config/GSettingsEngine.vala7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/config/GSettingsEngine.vala b/src/config/GSettingsEngine.vala
index a3d4e04..53c4e3f 100644
--- a/src/config/GSettingsEngine.vala
+++ b/src/config/GSettingsEngine.vala
@@ -357,6 +357,13 @@ public class GSettingsConfigurationEngine : ConfigurationEngine, GLib.Object {
converted_val = "file://" + val;
}
+ try {
+ if (p == ConfigurableProperty.DESKTOP_BACKGROUND_FILE) {
+ set_gs_string(schema_names[p], key_names[p] + "-dark", converted_val);
+ }
+ } catch (Error error) {
+ // Do nothing, the setting does not exist (yet)
+ }
set_gs_string(schema_names[p], key_names[p], converted_val);
property_changed(p);
}