Add a style class to model buttons
This will let us stop using the class name in Adwaita, and will help with some future additions.
This commit is contained in:
parent
0940cbbeb9
commit
2b85d6c225
@ -595,6 +595,7 @@ gtk_model_button_init (GtkModelButton *button)
|
||||
gtk_container_add (GTK_CONTAINER (button->box), button->image);
|
||||
gtk_container_add (GTK_CONTAINER (button->box), button->label);
|
||||
gtk_container_add (GTK_CONTAINER (button), button->box);
|
||||
gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (button), "modelbutton");
|
||||
}
|
||||
|
||||
GtkWidget *
|
||||
|
Loading…
Reference in New Issue
Block a user