[gnome-boxes/use-light-chrome-by-default] app-window: Honor the default system color-scheme




commit 5108fe38622934a282db5e77518514eda7f746e1
Author: Felipe Borges <felipeborges gnome org>
Date:   Thu Apr 28 12:46:43 2022 +0200

    app-window: Honor the default system color-scheme
    
    See https://gitlab.gnome.org/GNOME/Initiatives/-/wikis/Dark-Style-Preference
    
    Fixes #788

 src/app-window.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/app-window.vala b/src/app-window.vala
index c9c2d780..fbe0b258 100644
--- a/src/app-window.vala
+++ b/src/app-window.vala
@@ -109,7 +109,7 @@ public AppWindow (Gtk.Application app) {
         settings = new GLib.Settings ("org.gnome.boxes");
 
         Gtk.Window.set_default_icon_name (Config.APPLICATION_ID);
-        Hdy.StyleManager.get_default ().color_scheme = PREFER_DARK;
+        Hdy.StyleManager.get_default ().color_scheme = PREFER_LIGHT;
 
         var provider = Boxes.load_css ("gtk-style.css");
         Gtk.StyleContext.add_provider_for_screen (Gdk.Screen.get_default (),


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