forked from AuroraMiddleware/gtk
dialog: Use an element name
This will help differentiating dialogs from other windows, style-wise.
This commit is contained in:
parent
bd0f217ff4
commit
3e8eacc8b7
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user