[nautilus/wip/exalm/dark: 2/2] application: Support dark preference
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/exalm/dark: 2/2] application: Support dark preference
- Date: Sat, 11 Dec 2021 13:01:23 +0000 (UTC)
commit df76b9be27b83212f1de46e9e482491f7ff56ffa
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Sat Dec 11 18:01:23 2021 +0500
application: Support dark preference
meson.build | 2 +-
src/nautilus-application.c | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 7462cef8c..1f861bc49 100644
--- a/meson.build
+++ b/meson.build
@@ -120,7 +120,7 @@ gmodule = dependency('gmodule-no-export-2.0', version: glib_ver)
gnome_autoar = dependency('gnome-autoar-0', version: '>= 0.4.0')
gnome_desktop = dependency('gnome-desktop-3.0', version: '>= 3.0.0')
gtk = dependency('gtk+-3.0', version: '>= 3.22.27')
-libhandy = dependency('libhandy-1', version: '>= 1.1.90')
+libhandy = dependency('libhandy-1', version: '>= 1.5.0')
libportal = []
if get_option('libportal')
libportal = dependency('libportal', version: '>= 0.3')
diff --git a/src/nautilus-application.c b/src/nautilus-application.c
index 973e1b521..8b586b05f 100644
--- a/src/nautilus-application.c
+++ b/src/nautilus-application.c
@@ -1275,6 +1275,9 @@ nautilus_application_startup_common (NautilusApplication *self)
hdy_init ();
+ hdy_style_manager_set_color_scheme (hdy_style_manager_get_default (),
+ HDY_COLOR_SCHEME_PREFER_LIGHT);
+
gtk_window_set_default_icon_name (APPLICATION_ID);
setup_theme_extensions ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]