From 1b905671c70ba2fb272db31ee5d073e5ca99d3f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= Date: Tue, 9 Apr 2019 12:43:23 +0200 Subject: [PATCH] shell: Prefer dark theme MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See: https://source.puri.sm/Librem5/librem5-base/issues/6 Signed-off-by: Guido Günther --- src/shell.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/shell.c b/src/shell.c index d691f0c71..16bae6a75 100644 --- a/src/shell.c +++ b/src/shell.c @@ -557,6 +557,10 @@ phosh_shell_class_init (PhoshShellClass *klass) static void phosh_shell_init (PhoshShell *self) { + GtkSettings *gtk_settings; + + gtk_settings = gtk_settings_get_default (); + g_object_set (G_OBJECT (gtk_settings), "gtk-application-prefer-dark-theme", TRUE, NULL); } -- GitLab