summaryrefslogtreecommitdiff
path: root/gtk/gtkstyle.c
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2010-11-08 02:15:06 +0100
committerCarlos Garnacho <carlosg@gnome.org>2010-12-04 15:38:43 +0100
commit1ec47b20dbaa500bc3be9191e9bc124aefce9331 (patch)
tree8640176cd5861a0ee336f8187e2ec10eecb9f276 /gtk/gtkstyle.c
parent46b8cc86868c0acc2a1a11caee22abbad0866b55 (diff)
downloadgtk+-1ec47b20dbaa500bc3be9191e9bc124aefce9331.tar.gz
GtkStyle: Transform menubar detail string.
Diffstat (limited to 'gtk/gtkstyle.c')
-rw-r--r--gtk/gtkstyle.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c
index 3a44de64a4..b760fea440 100644
--- a/gtk/gtkstyle.c
+++ b/gtk/gtkstyle.c
@@ -1788,6 +1788,8 @@ transform_detail_string (const gchar *detail,
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)
+ gtk_style_context_add_class (context, "menubar");
else if (g_str_has_prefix (detail, "cell"))
{
GtkRegionFlags row, col;