[gtk+/gtk-style-context: 394/540] Transform the 'menu' detail string to the 'popup' class
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-style-context: 394/540] Transform the 'menu' detail string to the 'popup' class
- Date: Fri, 3 Dec 2010 03:09:15 +0000 (UTC)
commit 4ad2263240e0d09293abe241e0c8d39524052f08
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Nov 17 01:38:40 2010 -0500
Transform the 'menu' detail string to the 'popup' class
gtk/gtkstyle.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c
index 8981613..4acab1b 100644
--- a/gtk/gtkstyle.c
+++ b/gtk/gtkstyle.c
@@ -1793,6 +1793,11 @@ transform_detail_string (const gchar *detail,
gtk_style_context_add_class (context, "menuitem");
gtk_style_context_add_class (context, "menu");
}
+ else if (strcmp (detail, "menu") == 0)
+ {
+ gtk_style_context_add_class (context, "popup");
+ 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]