diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2022-05-21 19:44:47 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2022-05-21 19:44:47 +0200 |
commit | ba553455d2d1dae08348020001844794502d0ac0 (patch) | |
tree | 98c41a82a02589269d79423907e046397107e080 /src/config/GSettingsEngine.vala | |
parent | 6dc4a14e122270c93a2940011ec451719aac22d2 (diff) | |
parent | a8c434f4f345295c14ec60106ca2693c25db1d83 (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/config/GSettingsEngine.vala')
-rw-r--r-- | src/config/GSettingsEngine.vala | 7 |
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); } |