[gtk+/gtk-style-context: 331/490] GtkStyle: transform window background detail string.
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-style-context: 331/490] GtkStyle: transform window background detail string.
- Date: Wed, 24 Nov 2010 14:07:30 +0000 (UTC)
commit ec731b79ec466363c8ce36a0d4531595b8062add
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]