[xdg-desktop-portal-gnome] settings: Don't force HighContrast icon theme



commit 5d958daaedf521d2d2f2d045ff95e941f9c95a22
Author: Florian Müllner <fmuellner gnome org>
Date:   Tue Jun 7 19:42:01 2022 +0200

    settings: Don't force HighContrast icon theme
    
    The theme is considered deprecated in favor of symbolic icons from
    the regular theme.

 src/settings.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/settings.c b/src/settings.c
index 8824e7d..a8fd87a 100644
--- a/src/settings.c
+++ b/src/settings.c
@@ -152,8 +152,7 @@ settings_handle_read_all (XdpImplSettings       *object,
           if (strcmp (key, "org.gnome.desktop.interface") == 0 &&
               strcmp (keys[i], "enable-animations") == 0)
             g_variant_dict_insert_value (&dict, keys[i], g_variant_new_boolean (enable_animations));
-          else if (strcmp (key, "org.gnome.desktop.interface") == 0 &&
-                   (strcmp (keys[i], "gtk-theme") == 0 || strcmp (keys[i], "icon-theme") == 0))
+          else if (strcmp (key, "org.gnome.desktop.interface") == 0 && strcmp (keys[i], "gtk-theme") == 0)
             g_variant_dict_insert_value (&dict, keys[i], get_theme_value (keys[i]));
           else
             g_variant_dict_insert_value (&dict, keys[i], g_settings_get_value (value->settings, keys[i]));


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