summaryrefslogtreecommitdiff
path: root/gtk/gtkstyle.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2010-11-17 01:38:40 -0500
committerCarlos Garnacho <carlosg@gnome.org>2010-12-04 15:39:15 +0100
commitc8e5d3b07b7f1d658ee7737c1726d2ab97b9ea28 (patch)
treed7cb1e1a1b24c745ab57c9be556da07ce32d59fb /gtk/gtkstyle.c
parent016a6569238412add67e6e8992f2f8cc42faa644 (diff)
downloadgtk+-c8e5d3b07b7f1d658ee7737c1726d2ab97b9ea28.tar.gz
Transform the 'menu' detail string to the 'popup' class
Diffstat (limited to 'gtk/gtkstyle.c')
-rw-r--r--gtk/gtkstyle.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c
index 8981613a67..4acab1b4e3 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)