mirror of https://github.com/GNOME/gimp.git
better status display while printing
This commit is contained in:
parent
8dd990b005
commit
362fdc2f7d
|
@ -206,11 +206,13 @@ print_image (gint32 image_ID,
|
|||
|
||||
status = gtk_print_operation_get_status_string (operation);
|
||||
|
||||
/* display status of the print operation in the status bar */
|
||||
gimp_progress_set_text_printf (_("Print: %s"), status);
|
||||
if (status && strlen (status))
|
||||
{
|
||||
/* display status of the print operation in the status bar */
|
||||
gimp_progress_set_text_printf (_("Print: %s"), status);
|
||||
}
|
||||
|
||||
while (gtk_events_pending ())
|
||||
gtk_main_iteration ();
|
||||
gtk_main_iteration ();
|
||||
}
|
||||
|
||||
switch (result)
|
||||
|
|
Loading…
Reference in New Issue