[gtk+/gtk-style-context: 381/533] Handle menuitem detail string better.
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-style-context: 381/533] Handle menuitem detail string better.
- Date: Wed, 1 Dec 2010 02:37:51 +0000 (UTC)
commit e0cb63171309952053ecfc15a2e8f40a8f6d0d5f
Author: Carlos Garnacho <carlosg gnome org>
Date: Wed Nov 17 02:40:21 2010 +0100
Handle menuitem detail string better.
gtk/gtkstyle.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c
index 5a357b4..6733792 100644
--- a/gtk/gtkstyle.c
+++ b/gtk/gtkstyle.c
@@ -1785,7 +1785,10 @@ transform_detail_string (const gchar *detail,
gtk_style_context_add_class (context, "scrollbar");
}
else if (strcmp (detail, "menuitem") == 0)
- gtk_style_context_add_class (context, "menu");
+ {
+ gtk_style_context_add_class (context, "menuitem");
+ gtk_style_context_add_class (context, "menu");
+ }
else if (strcmp (detail, "accellabel") == 0)
gtk_style_context_add_class (context, "accelerator");
else if (strcmp (detail, "menubar") == 0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]