summaryrefslogtreecommitdiff
path: root/src/config/GSettingsEngine.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2022-05-21 19:44:47 +0200
committerJörg Frings-Fürst <debian@jff.email>2022-05-21 19:44:47 +0200
commitba553455d2d1dae08348020001844794502d0ac0 (patch)
tree98c41a82a02589269d79423907e046397107e080 /src/config/GSettingsEngine.vala
parent6dc4a14e122270c93a2940011ec451719aac22d2 (diff)
parenta8c434f4f345295c14ec60106ca2693c25db1d83 (diff)
Merge branch 'feature/upstream' into develop
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);
}