From 1097cafa2248e1f47f387d539c2c2fcb6ce9eee9 Mon Sep 17 00:00:00 2001 From: Benjamin Berg Date: Tue, 27 May 2008 14:32:56 +0000 Subject: Use a more specific match for notebook tabs, as otherwise widgets inside the notebook break. --- 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 "**" 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 "**" 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 "*" style "notebook-tab" +widget_class "*." style "notebook-tab" +widget_class "*.." style "notebook-tab" # SugarPalette and Menu -- cgit v0.9.1