Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Berg <benjamin@sipsolutions.net>2008-05-27 14:32:56 (GMT)
committer Benjamin Berg <benjamin@sipsolutions.net>2008-05-27 14:32:56 (GMT)
commit1097cafa2248e1f47f387d539c2c2fcb6ce9eee9 (patch)
tree7da067dc438ddfb75ed0bee777925bfe01ad8ba4
parent34054068d0f8c09ab9ff5ef68d15d600f43b33e2 (diff)
Use a more specific match for notebook tabs, as otherwise widgets inside the notebook break.
-rw-r--r--gtk/theme/gtkrc.em6
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk/theme/gtkrc.em b/gtk/theme/gtkrc.em
index c73f513..d17a687 100644
--- a/gtk/theme/gtkrc.em
+++ b/gtk/theme/gtkrc.em
@@ -696,7 +696,11 @@ widget_class "*<SugarAlert>*" style "black-bg-child"
# The notebook is very high, so that everything is overriden
# Only the color of the tab labels needs to be modified inside the
# notebooks in this style (and the widget itself).
-widget_class "*<GtkNotebook>*" style "notebook-tab"
+# Assume that there is either just a normal label in the notebook tab, or
+# it is inside a GtkBox (H- or VBox) together with eg. a close button.
+widget_class "*<GtkNotebook>" style "notebook-tab"
+widget_class "*<GtkNotebook>.<GtkLabel>" style "notebook-tab"
+widget_class "*<GtkNotebook>.<GtkBox>.<GtkLabel>" style "notebook-tab"
# SugarPalette and Menu