epiphany r8330 - branches/gnome-2-22/embed/mozilla
- From: cosimoc svn gnome org
- To: svn-commits-list gnome org
- Subject: epiphany r8330 - branches/gnome-2-22/embed/mozilla
- Date: Wed, 2 Jul 2008 16:08:56 +0000 (UTC)
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]