[gimp/gtk3-port: 219/233] Unkommented settings for preferring a dark GTK+ theme.
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gtk3-port: 219/233] Unkommented settings for preferring a dark GTK+ theme.
- Date: Wed, 7 Sep 2016 10:42:21 +0000 (UTC)
commit a5c7580eacd6a386be13fb7f9f23c4c4b09ecd8e
Author: Alexandre Prokoudine <alexandre prokoudine gmail com>
Date: Sat Jul 21 21:17:13 2012 +0400
Unkommented settings for preferring a dark GTK+ theme.
All things work with two exceptions (so far): the ruler widget and 2nd level dialogs (e.g. PNG saving
options) are not affected.
app/gui/themes.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/app/gui/themes.c b/app/gui/themes.c
index 46577d1..d1e8842 100644
--- a/app/gui/themes.c
+++ b/app/gui/themes.c
@@ -127,11 +127,10 @@ themes_init (Gimp *gimp)
g_list_free_full (path, (GDestroyNotify) g_object_unref);
}
-#if 0
+
g_object_set (gtk_settings_get_for_screen (gdk_screen_get_default ()),
"gtk-application-prefer-dark-theme", TRUE,
NULL);
-#endif
themes_style_provider = GTK_STYLE_PROVIDER (gtk_css_provider_new ());
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]