Queue printing idles at a low priority. (#348289, Yevgen Muntyan)

2006-08-17  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkprintoperation.c (print_pages, preview_ready): Queue
	printing idles at a low priority.  (#348289, Yevgen Muntyan)
This commit is contained in:
Matthias Clasen 2006-08-17 16:24:56 +00:00 committed by Matthias Clasen
parent b18c2104c4
commit f2936e2706
3 changed files with 8 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2006-08-17 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprintoperation.c (print_pages, preview_ready): Queue
printing idles at a low priority. (#348289, Yevgen Muntyan)
* gtk/gtkstatusicon.c (gtk_status_icon_get_geometry): Add some
caveats to the documentation. (#348971)

View File

@ -1,5 +1,8 @@
2006-08-17 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprintoperation.c (print_pages, preview_ready): Queue
printing idles at a low priority. (#348289, Yevgen Muntyan)
* gtk/gtkstatusicon.c (gtk_status_icon_get_geometry): Add some
caveats to the documentation. (#348971)

View File

@ -454,7 +454,7 @@ preview_ready (GtkPrintOperationPreview *preview,
pop->page_nr = 0;
pop->print_context = context;
g_idle_add_full (G_PRIORITY_DEFAULT_IDLE,
g_idle_add_full (G_PRIORITY_DEFAULT_IDLE + 10,
preview_print_idle,
pop,
preview_print_idle_done);
@ -2265,7 +2265,7 @@ print_pages (GtkPrintOperation *op,
priv->manual_orientation = TRUE;
}
priv->print_pages_idle_id = g_idle_add_full (G_PRIORITY_DEFAULT_IDLE,
priv->print_pages_idle_id = g_idle_add_full (G_PRIORITY_DEFAULT_IDLE + 10,
print_pages_idle,
data,
print_pages_idle_done);