mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-19 00:20:09 +00:00
print dialog: Set a CSS name
The CSS name for GtkPrintUnixDialog is printdialog.
This commit is contained in:
parent
704b41b504
commit
9657ec9331
@ -112,6 +112,10 @@
|
|||||||
* </child>
|
* </child>
|
||||||
* </object>
|
* </object>
|
||||||
* ]|
|
* ]|
|
||||||
|
*
|
||||||
|
* # CSS nodes
|
||||||
|
*
|
||||||
|
* GtkPrintUnixDialog has a single CSS node with name printdialog.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
@ -553,6 +557,8 @@ gtk_print_unix_dialog_class_init (GtkPrintUnixDialogClass *class)
|
|||||||
gtk_widget_class_bind_template_callback (widget_class, update_number_up_layout);
|
gtk_widget_class_bind_template_callback (widget_class, update_number_up_layout);
|
||||||
gtk_widget_class_bind_template_callback (widget_class, redraw_page_layout_preview);
|
gtk_widget_class_bind_template_callback (widget_class, redraw_page_layout_preview);
|
||||||
gtk_widget_class_bind_template_callback (widget_class, draw_page_cb);
|
gtk_widget_class_bind_template_callback (widget_class, draw_page_cb);
|
||||||
|
|
||||||
|
gtk_widget_class_set_css_name (widget_class, "printdialog");
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Returns a toplevel GtkWindow, or NULL if none */
|
/* Returns a toplevel GtkWindow, or NULL if none */
|
||||||
|
Loading…
Reference in New Issue
Block a user