From 60a2e90df7c51d2dfc9103970b794ecc53008146 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Mon, 15 Nov 2010 23:27:44 +0100 Subject: [PATCH] GtkStyle: transform tabs' detail string. --- gtk/gtkstyle.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c index 3eca2014e9..ff3ba06317 100644 --- a/gtk/gtkstyle.c +++ b/gtk/gtkstyle.c @@ -1800,6 +1800,11 @@ transform_detail_string (const gchar *detail, gtk_style_context_add_class (context, "dock"); else if (strcmp (detail, "notebook") == 0) gtk_style_context_add_class (context, "notebook"); + else if (strcmp (detail, "tab") == 0) + { + gtk_style_context_add_class (context, "notebook"); + gtk_style_context_add_region (context, GTK_STYLE_REGION_TAB, 0); + } else if (g_str_has_prefix (detail, "cell")) { GtkRegionFlags row, col;