forked from AuroraMiddleware/gtk
Transform the 'menu' detail string to the 'popup' class
This commit is contained in:
parent
016a656923
commit
c8e5d3b07b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user