epiphany r8330 - branches/gnome-2-22/embed/mozilla



Author: cosimoc
Date: Wed Jul  2 16:08:55 2008
New Revision: 8330
URL: http://svn.gnome.org/viewvc/epiphany?rev=8330&view=rev

Log:
Use percentage instead of value when calling gtk_print_settings_set_scale.
Patch by Paul Drain. (#541168).


Modified:
   branches/gnome-2-22/embed/mozilla/GeckoPrintService.cpp

Modified: branches/gnome-2-22/embed/mozilla/GeckoPrintService.cpp
==============================================================================
--- branches/gnome-2-22/embed/mozilla/GeckoPrintService.cpp	(original)
+++ branches/gnome-2-22/embed/mozilla/GeckoPrintService.cpp	Wed Jul  2 16:08:55 2008
@@ -735,7 +735,7 @@
 
   /* FIXME: only if GTK_PRINT_CAPABILITY_SCALE is not set? */
   aSettings->SetScaling (gtk_print_settings_get_scale (aGtkSettings) / 100.0);
-  gtk_print_settings_set_scale (aGtkSettings, 1.0);
+  gtk_print_settings_set_scale (aGtkSettings, 100.0);
 
   aSettings->SetShrinkToFit (PR_FALSE); /* FIXME setting */
     



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]