Don't treat manual_scale like a percentage, its a factor.

2006-05-31  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkprintoperation.c (print_pages_idle): Don't
	treat manual_scale like a percentage, its a factor.
This commit is contained in:
Matthias Clasen 2006-05-31 19:46:02 +00:00 committed by Matthias Clasen
parent 3c6de40578
commit b641d2df47
3 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2006-05-31 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprintoperation.c (print_pages_idle): Don't
treat manual_scale like a percentage, its a factor.
* gtk/gtktreeview.c (gtk_tree_view_class_init): Document
signals. (#302556, Stefan Kost)

View File

@ -1,5 +1,8 @@
2006-05-31 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprintoperation.c (print_pages_idle): Don't
treat manual_scale like a percentage, its a factor.
* gtk/gtktreeview.c (gtk_tree_view_class_init): Document
signals. (#302556, Stefan Kost)

View File

@ -1720,7 +1720,7 @@ print_pages_idle (gpointer user_data)
cr = gtk_print_context_get_cairo_context (data->print_context);
cairo_save (cr);
if (priv->manual_scale != 100.0)
if (priv->manual_scale != 1.0)
cairo_scale (cr,
priv->manual_scale,
priv->manual_scale);