diff options
author | Alexander Mikhaylenko <alexm@gnome.org> | 2022-01-05 22:00:20 +0500 |
---|---|---|
committer | Alexander Mikhaylenko <alexm@gnome.org> | 2022-02-10 00:34:38 +0000 |
commit | 0a405da84a6f2f106603a5045cf15d6e8853c9b0 (patch) | |
tree | b3fd9cd7a16f5644df9c4152d91e8dfe0ba5a49b /src/yelp-application.c | |
parent | 47b1095f9f0ff25fade69d412e26cf091f883092 (diff) | |
download | yelp-0a405da84a6f2f106603a5045cf15d6e8853c9b0.tar.gz |
application: Support color-scheme
It will be used for the light/dark preference in GNOME 42.
Diffstat (limited to 'src/yelp-application.c')
-rw-r--r-- | src/yelp-application.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/yelp-application.c b/src/yelp-application.c index 8d046f31..4e4d7a31 100644 --- a/src/yelp-application.c +++ b/src/yelp-application.c @@ -272,6 +272,8 @@ yelp_application_startup (GApplication *application) G_APPLICATION_CLASS (yelp_application_parent_class)->startup (application); hdy_init (); + hdy_style_manager_set_color_scheme (hdy_style_manager_get_default (), + HDY_COLOR_SCHEME_PREFER_LIGHT); settings = yelp_settings_get_default (); if (editor_mode) |