better status display while printing

This commit is contained in:
Sven Neumann 2006-12-29 14:57:45 +00:00
parent 8dd990b005
commit 362fdc2f7d
1 changed files with 6 additions and 4 deletions

View File

@ -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)