Commit aa6e0ad3 authored by Matthias Clasen's avatar Matthias Clasen

menu button: Revisit style class one more time

Use .popup, which is already in use elsewhere, fits better with
the other button differentiating style classes, and does not
interfere with menus.
parent c925a840
......@@ -105,7 +105,7 @@
* # CSS nodes
*
* GtkMenuButton has a single CSS node with name button. To differentiate
* it from a plain #GtkButton, it gets the .menubutton style class.
* it from a plain #GtkButton, it gets the .popup style class.
*/
#include "config.h"
......@@ -673,7 +673,7 @@ gtk_menu_button_init (GtkMenuButton *menu_button)
gtk_widget_set_sensitive (GTK_WIDGET (menu_button), FALSE);
context = gtk_widget_get_style_context (GTK_WIDGET (menu_button));
gtk_style_context_add_class (context, "menubutton");
gtk_style_context_add_class (context, "popup");
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment