Transform the 'menu' detail string to the 'popup' class

This commit is contained in:
Matthias Clasen 2010-11-17 01:38:40 -05:00 committed by Carlos Garnacho
parent 016a656923
commit c8e5d3b07b

View File

@ -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)