Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorBenjamin Berg <benjamin@sipsolutions.net>2007-10-15 23:27:13 (GMT)
committer Benjamin Berg <benjamin@sipsolutions.net>2007-10-15 23:27:13 (GMT)
commit508a8b39ad562657249f06ce401eeb16184b64af (patch)
tree7a6c030c5309a55775c54ac3ae0420d23f266b56 /gtk
parent243b3bad41f5028702a1f768da838755f4279304 (diff)
Fix text color of entries in palettes.
Diffstat (limited to 'gtk')
-rw-r--r--gtk/theme/gtkrc.em9
1 files changed, 4 insertions, 5 deletions
diff --git a/gtk/theme/gtkrc.em b/gtk/theme/gtkrc.em
index 86b4771..7d36616 100644
--- a/gtk/theme/gtkrc.em
+++ b/gtk/theme/gtkrc.em
@@ -247,9 +247,10 @@ style "menu"
ythickness = $thickness
}
-# Base this style on "menu" to get the correct colors
style "palette-menu" = "menu"
{
+ # The colors are copied here, instead of basing it on
+ # the menu style
xthickness = 0
ythickness = $subcell_size
}
@@ -262,10 +263,6 @@ style "menu-child"
fg[NORMAL] = $white
fg[PRELIGHT] = $white
- # Work around bug #382646
- text[NORMAL] = $white
- text[PRELIGHT] = $white
-
bg[NORMAL] = $button_grey
bg[INSENSITIVE] = $black
@@ -481,6 +478,7 @@ style "panel"
style "entry"
{
color["focus_line"] = $text_field_grey
+
${ entry_ythickness = my_ceil(0.2 * (subcell_size*3.0/2.0 - thickness) + thickness) }
${ entry_xthickness = my_ceil(0.32 * (subcell_size*3.0/2.0 - thickness) + thickness) }
@@ -582,6 +580,7 @@ style "menuitem"
bg[PRELIGHT] = $button_grey
+ # Work around bug #382646
text[PRELIGHT] = $white
text[NORMAL] = $white
text[ACTIVE] = $white