[gimp/gimp-2-10] Issue #1604 - Active layer name is hard to read
- From: Ell <ell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-10] Issue #1604 - Active layer name is hard to read
- Date: Tue, 18 Sep 2018 08:59:32 +0000 (UTC)
commit d7da2cb33812149e3ea88fc8fb9bb8d37ae68c63
Author: Ell <ell_se yahoo com>
Date: Tue Sep 18 04:51:58 2018 -0400
Issue #1604 - Active layer name is hard to read
In the gtkrc files of the Dark and Light themes, replace a bunch of
"widget" selectors with "widget_class" selectors, which is what
they really should be (they should probably also use angle-bracket
notation for classes, but as long as it works...) This allows the
different styles to be merged correctly, and fixes the active layer
name color (more generally, the text color of selected rows of
focused tree-views inside dockables.) The Gray theme seems to be
double-broken in such a way that "fixing" it causes it to do the
"wrong" thing... I'm not touching that :)
themes/Dark/gtkrc | 8 ++++----
themes/Light/gtkrc | 12 ++++++------
2 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/themes/Dark/gtkrc b/themes/Dark/gtkrc
index 5d4f242f3f..6265b02724 100644
--- a/themes/Dark/gtkrc
+++ b/themes/Dark/gtkrc
@@ -333,7 +333,7 @@ style "gimp-dark-grid-view-style" = "gimp-dark-default-style"
bg[NORMAL] = { 1.0, 1.0, 1.0 }
}
-widget "*GimpContainerGridView*GtkViewport*" style "gimp-dark-grid-view-style"
+widget_class "*GimpContainerGridView*GtkViewport*" style "gimp-dark-grid-view-style"
###########################################################
@@ -344,7 +344,7 @@ style "gimp-dark-dockable-style" = "gimp-dark-default-style"
GtkButton::focus-padding = 0
}
-widget "*GimpDockable.*" style "gimp-dark-dockable-style"
+widget_class "*GimpDockable.*" style "gimp-dark-dockable-style"
###########################################################
@@ -359,7 +359,7 @@ style "gimp-dark-display-style" = "gimp-dark-default-style"
GtkButton::focus-padding = 0
}
-widget "*GimpDisplayShell.*" style "gimp-dark-display-style"
+widget_class "*GimpDisplayShell.*" style "gimp-dark-display-style"
###########################################################
@@ -2207,7 +2207,7 @@ style "ubuntu-fix-menu-item"
}
}
-widget "GtkMenuItem" style "ubuntu-fix-menu-item"
+class "GtkMenuItem" style "ubuntu-fix-menu-item"
###########################################################
diff --git a/themes/Light/gtkrc b/themes/Light/gtkrc
index 1386c9072c..0e48691dcb 100644
--- a/themes/Light/gtkrc
+++ b/themes/Light/gtkrc
@@ -332,7 +332,7 @@ style "tlsog-grid-view-style" = "tlsog-default-style"
bg[NORMAL] = { 1.0, 1.0, 1.0 }
}
-widget "*GimpContainerGridView*GtkViewport*" style "tlsog-grid-view-style"
+widget_class "*GimpContainerGridView*GtkViewport*" style "tlsog-grid-view-style"
###########################################################
@@ -343,7 +343,7 @@ style "tlsog-dockable-style" = "tlsog-default-style"
GtkButton::focus-padding = 0
}
-widget "*GimpDockable.*" style "tlsog-dockable-style"
+widget_class "*GimpDockable.*" style "tlsog-dockable-style"
###########################################################
@@ -358,7 +358,7 @@ style "tlsog-display-style" = "tlsog-default-style"
GtkButton::focus-padding = 0
}
-widget "*GimpDisplayShell.*" style "tlsog-display-style"
+widget_class "*GimpDisplayShell.*" style "tlsog-display-style"
###########################################################
@@ -1933,7 +1933,7 @@ style "tlsog-spin-scale-style"
}
class "GimpSpinScale" style "tlsog-spin-scale-style"
-widget "*GimpSpinScale*" style "tlsog-spin-scale-style"
+widget_class "*GimpSpinScale*" style "tlsog-spin-scale-style"
###########################################################
@@ -2246,7 +2246,7 @@ style "kde_hack_2"
bg[NORMAL] = "#DDDDDD" #Sets canvas BG
}
-widget "*GimpDisplayShell.*" style "kde_hack_2"
+widget_class "*GimpDisplayShell.*" style "kde_hack_2"
###########################################################
@@ -2508,7 +2508,7 @@ style "ubuntu-fix-menu-item"
}
}
-widget "GtkMenuItem" style "ubuntu-fix-menu-item"
+class "GtkMenuItem" style "ubuntu-fix-menu-item"
###########################################################
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]