mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 22:41:43 +00:00
Merge branch 'matthiasc/for-master' into 'master'
widget-factory: Make the print dialog more functional See merge request GNOME/gtk!2083
This commit is contained in:
commit
ceb2349823
@ -408,6 +408,8 @@ activate_print (GSimpleAction *action,
|
||||
g_signal_connect (op, "draw-page", G_CALLBACK (print_operation_page), window);
|
||||
g_signal_connect (op, "done", G_CALLBACK (print_operation_done), NULL);
|
||||
|
||||
gtk_print_operation_set_embed_page_setup (op, TRUE);
|
||||
|
||||
res = gtk_print_operation_run (op, GTK_PRINT_OPERATION_ACTION_PRINT_DIALOG, window, NULL);
|
||||
|
||||
if (res == GTK_PRINT_OPERATION_RESULT_IN_PROGRESS)
|
||||
|
Loading…
Reference in New Issue
Block a user