[gnome-control-center/wip/exalm/appearance: 2/7] ua: Stop setting high contrast WM theme




commit 27e343d99aae351d56aedfadcd6327bdea761cc0
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Mon Dec 13 03:15:32 2021 +0500

    ua: Stop setting high contrast WM theme
    
    That key is deprecated.

 panels/universal-access/cc-ua-panel.c | 5 -----
 1 file changed, 5 deletions(-)
---
diff --git a/panels/universal-access/cc-ua-panel.c b/panels/universal-access/cc-ua-panel.c
index b734f3884..032c009b3 100644
--- a/panels/universal-access/cc-ua-panel.c
+++ b/panels/universal-access/cc-ua-panel.c
@@ -71,7 +71,6 @@
 /* wm settings */
 #define WM_SETTINGS                  "org.gnome.desktop.wm.preferences"
 #define KEY_VISUAL_BELL_ENABLED      "visual-bell"
-#define KEY_WM_THEME                 "theme"
 
 /* keyboard settings */
 #define KEYBOARD_SETTINGS            "org.gnome.desktop.a11y.keyboard"
@@ -311,15 +310,11 @@ set_contrast_mapping (const GValue       *value,
     {
       g_settings_set_string (self->interface_settings, KEY_GTK_THEME, HIGH_CONTRAST_THEME);
       g_settings_set_string (self->interface_settings, KEY_ICON_THEME, HIGH_CONTRAST_THEME);
-
-      g_settings_set_string (self->wm_settings, KEY_WM_THEME, HIGH_CONTRAST_THEME);
     }
   else
     {
       g_settings_reset (self->interface_settings, KEY_GTK_THEME);
       g_settings_reset (self->interface_settings, KEY_ICON_THEME);
-
-      g_settings_reset (self->wm_settings, KEY_WM_THEME);
     }
 
   return g_variant_new_boolean (hc);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]