dialog: Use an element name

This will help differentiating dialogs from other windows, style-wise.
This commit is contained in:
Matthias Clasen 2015-11-24 07:41:26 -05:00
parent bd0f217ff4
commit 3e8eacc8b7

View File

@ -665,6 +665,8 @@ gtk_dialog_class_init (GtkDialogClass *class)
gtk_widget_class_bind_template_child_internal_private (widget_class, GtkDialog, action_area); gtk_widget_class_bind_template_child_internal_private (widget_class, GtkDialog, action_area);
gtk_widget_class_bind_template_child_internal_private (widget_class, GtkDialog, action_box); gtk_widget_class_bind_template_child_internal_private (widget_class, GtkDialog, action_box);
gtk_widget_class_bind_template_callback (widget_class, gtk_dialog_delete_event_handler); gtk_widget_class_bind_template_callback (widget_class, gtk_dialog_delete_event_handler);
gtk_widget_class_set_css_name (widget_class, "dialog");
} }
static void static void