[gtk+/gtk-style-context: 330/540] GtkStyle: transform window background detail string.



commit 4e2f0d0899175acda0fc703c7c21987027107450
Author: Carlos Garnacho <carlosg gnome org>
Date:   Mon Nov 8 02:30:39 2010 +0100

    GtkStyle: transform window background detail string.

 gtk/gtkstyle.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c
index b760fea..9acc49c 100644
--- a/gtk/gtkstyle.c
+++ b/gtk/gtkstyle.c
@@ -1790,6 +1790,8 @@ transform_detail_string (const gchar     *detail,
     gtk_style_context_add_class (context, "accelerator");
   else if (strcmp (detail, "menubar") == 0)
     gtk_style_context_add_class (context, "menubar");
+  else if (strcmp (detail, "base") == 0)
+    gtk_style_context_add_class (context, "background");
   else if (g_str_has_prefix (detail, "cell"))
     {
       GtkRegionFlags row, col;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]