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.
This commit is contained in:
Ell
2018-11-08 07:15:40 -05:00
parent e23ce84dc0
commit 4cc0096450
3 changed files with 3 additions and 0 deletions

View File

@ -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"
###########################################################

View File

@ -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"
###########################################################

View File

@ -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"
###########################################################