[gimp/gtk3-port: 219/234] 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/234] Unkommented settings for preferring a dark GTK+ theme.
- Date: Sun, 5 Mar 2017 17:17:37 +0000 (UTC)
commit cb8b8901ba658aa017082d83ac21c234a40b0e69
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]