[gimp/gimp-2-10] themes: fix Dark theme tree-view selected text color during editing
- From: Ell <ell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-10] themes: fix Dark theme tree-view selected text color during editing
- Date: Thu, 8 Nov 2018 12:23:15 +0000 (UTC)
commit 4cc0096450a3d2e0cfe066791ffe159ec2bc5384
Author: Ell <ell_se yahoo com>
Date: Thu Nov 8 07:15:40 2018 -0500
themes: fix Dark theme tree-view selected text color during editing
In all themes, fix the color of selected text, while editing a
tree-view's item text (such as when renaming a layer), by
overriding tree-view specific styling with the global text-entry
style, for nested text entries inside tree-views. The text would
previously use the same color as the selection background, making
it unreadable.
This issue affects the Dark and Gray themes, although this fix only
takes care of the Dark theme.
themes/Dark/gtkrc | 1 +
themes/Gray/gtkrc | 1 +
themes/Light/gtkrc | 1 +
3 files changed, 3 insertions(+)
---
diff --git a/themes/Dark/gtkrc b/themes/Dark/gtkrc
index a31ba339e0..7e426f6df0 100644
--- a/themes/Dark/gtkrc
+++ b/themes/Dark/gtkrc
@@ -936,6 +936,7 @@ style "gimp-dark-entry" = "gimp-dark-default-style"
class "GtkEntry" style "gimp-dark-entry"
class "GtkOldEditable" style "gimp-dark-entry"
+widget_class "*GtkTree*GtkEntry" style "gimp-dark-entry"
###########################################################
diff --git a/themes/Gray/gtkrc b/themes/Gray/gtkrc
index 3a05bcbe1f..f32fd2b212 100644
--- a/themes/Gray/gtkrc
+++ b/themes/Gray/gtkrc
@@ -1011,6 +1011,7 @@ style "sogg-entry" = "sogg-default-style"
class "GtkEntry" style "sogg-entry"
class "GtkOldEditable" style "sogg-entry"
+widget_class "*GtkTree*GtkEntry" style "sogg-entry"
###########################################################
diff --git a/themes/Light/gtkrc b/themes/Light/gtkrc
index f54c941ed3..a9029c1d2c 100644
--- a/themes/Light/gtkrc
+++ b/themes/Light/gtkrc
@@ -1009,6 +1009,7 @@ style "tlsog-entry" = "tlsog-default-style"
class "GtkEntry" style "tlsog-entry"
class "GtkOldEditable" style "tlsog-entry"
+widget_class "*GtkTree*GtkEntry" style "tlsog-entry"
###########################################################
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]