[gnome-screenshot/wip/exalm/dark: 2/2] application: Set color scheme to prefer-dark




commit 03fe911003be5a720c5cb3a12af5941a4caaa738
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Sun Nov 21 17:46:25 2021 +0500

    application: Set color scheme to prefer-dark
    
    Support the upcoming dark preference.

 src/screenshot-application.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/screenshot-application.c b/src/screenshot-application.c
index 7acdc0e..f7f5022 100644
--- a/src/screenshot-application.c
+++ b/src/screenshot-application.c
@@ -819,6 +819,8 @@ screenshot_application_startup (GApplication *app)
   G_APPLICATION_CLASS (screenshot_application_parent_class)->startup (app);
 
   hdy_init ();
+  hdy_style_manager_set_color_scheme (hdy_style_manager_get_default (),
+                                      HDY_COLOR_SCHEME_PREFER_LIGHT);
 
   screenshot_load_config ();
 


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