From 9b5e7f8050547295e400d48ea30593e25ac51413 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20For=C3=A9?= Date: Wed, 6 Oct 2021 11:15:31 -0700 Subject: [PATCH 1/3] PrefersColorSchemeSettings: Remove reference to Granite --- src/Backends/PrefersColorSchemeSettings.vala | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Backends/PrefersColorSchemeSettings.vala b/src/Backends/PrefersColorSchemeSettings.vala index 001a9b37..8bcef1e6 100644 --- a/src/Backends/PrefersColorSchemeSettings.vala +++ b/src/Backends/PrefersColorSchemeSettings.vala @@ -34,8 +34,6 @@ public class SettingsDaemon.Backends.PrefersColorSchemeSettings : Object { construct { color_settings = new Settings ("io.elementary.settings-daemon.prefers-color-scheme"); - var desktop_settings = new Settings ("org.freedesktop"); - var granite_settings = Granite.Settings.get_default (); var schedule = color_settings.get_string ("prefer-dark-schedule"); if (schedule == "sunset-to-sunrise") { @@ -44,7 +42,6 @@ public class SettingsDaemon.Backends.PrefersColorSchemeSettings : Object { } color_settings.changed["prefer-dark-schedule"].connect (update_timer); - desktop_settings.bind ("prefers-color-scheme", granite_settings, "prefers-color-scheme", SettingsBindFlags.SET); update_timer (); } From 0cbafa0f2a4537a2b3c68dade1318c1947360968 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20For=C3=A9?= Date: Wed, 6 Oct 2021 11:17:58 -0700 Subject: [PATCH 2/3] remove freedesktop key --- data/io.elementary.settings-daemon.gschema.xml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/data/io.elementary.settings-daemon.gschema.xml b/data/io.elementary.settings-daemon.gschema.xml index 68adc021..b4f428c1 100644 --- a/data/io.elementary.settings-daemon.gschema.xml +++ b/data/io.elementary.settings-daemon.gschema.xml @@ -47,11 +47,4 @@ - - - 'no-preference' - Prefers color scheme - The user's preferred visual style for the user interface. - - From 45c1e472b6fffcf43ccbff559ef9c27214f90cff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20For=C3=A9?= Date: Wed, 6 Oct 2021 11:21:05 -0700 Subject: [PATCH 3/3] remove enum --- data/io.elementary.settings-daemon.gschema.xml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/data/io.elementary.settings-daemon.gschema.xml b/data/io.elementary.settings-daemon.gschema.xml index b4f428c1..961917ff 100644 --- a/data/io.elementary.settings-daemon.gschema.xml +++ b/data/io.elementary.settings-daemon.gschema.xml @@ -6,12 +6,6 @@ - - - - - - 'disabled'