Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/gtk/theme/gtkrc.em
diff options
context:
space:
mode:
authorBenjamin Berg <benjamin@sipsolutions.net>2010-01-10 14:14:27 (GMT)
committer Benjamin Berg <benjamin@sipsolutions.net>2010-01-10 14:14:27 (GMT)
commita5c453a6eb97af0342771e4d235a2bb84427796b (patch)
treed3ce5532536e3a61df55d22f50fcaeea8b783828 /gtk/theme/gtkrc.em
parent1c6b3ac70a0e4e69473d2d6a99bd2dcab05e32d5 (diff)
Implement transparent-bg-hint so that mozilla can draw entries properly.
Diffstat (limited to 'gtk/theme/gtkrc.em')
-rw-r--r--gtk/theme/gtkrc.em5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/theme/gtkrc.em b/gtk/theme/gtkrc.em
index 56770ea..69dccd9 100644
--- a/gtk/theme/gtkrc.em
+++ b/gtk/theme/gtkrc.em
@@ -149,6 +149,11 @@ style "default"
GtkButtonBox::child-internal-pad-x = 0
GtkButtonBox::child-internal-pad-y = 0
+ # The following line hints to gecko (and possibly other appliations)
+ # that the entry should be drawn transparently on the canvas.
+ # Without this, gecko will fill in the background of the entry.
+ GtkEntry::honors-transparent-bg-hint = 1
+
engine "sugar" {
line_width = $line_width
thick_line_width = $thick_line_width