Commit 9b7fa7a9 authored by Carlos Garcia Campos's avatar Carlos Garcia Campos
Browse files

Use nr_of_pages_to_print instead of nr_of_pages when updating printing progress

Fixes bgo#582950.
parent 122e0b40
......@@ -2115,8 +2115,8 @@ update_progress (PrintPagesData *data)
if (priv->status == GTK_PRINT_STATUS_PREPARING)
if (priv->nr_of_pages > 0)
text = g_strdup_printf (_("Preparing %d"), priv->nr_of_pages);
if (priv->nr_of_pages_to_print > 0)
text = g_strdup_printf (_("Preparing %d"), priv->nr_of_pages_to_print);
text = g_strdup (_("Preparing"));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment