Re: print progress and cancellation



Matthias Clasen wrote:

Here is a quick patch to make  GtkPrintOperation show a
progress dialog while the print operation is running. It also
allows the user to cancel the print operation.

To get the dialog, you need to call

gtk_print_operation_set_show_progress (op, TRUE)

Comments ?

There is a crash in print_pages: GtkWidget *progress is unitialized
if show_progress is FALSE.

Best regards,
Yevgen




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]