f-spot r4610 - trunk/src/Widgets
- From: lmilesi svn gnome org
- To: svn-commits-list gnome org
- Subject: f-spot r4610 - trunk/src/Widgets
- Date: Sat, 22 Nov 2008 11:01:04 +0000 (UTC)
Author: lmilesi
Date: Sat Nov 22 11:01:03 2008
New Revision: 4610
URL: http://svn.gnome.org/viewvc/f-spot?rev=4610&view=rev
Log:
missed string for bgo#561526
Modified:
trunk/src/Widgets/CustomPrintWidget.cs
Modified: trunk/src/Widgets/CustomPrintWidget.cs
==============================================================================
--- trunk/src/Widgets/CustomPrintWidget.cs (original)
+++ trunk/src/Widgets/CustomPrintWidget.cs Sat Nov 22 11:01:03 2008
@@ -109,7 +109,9 @@
Button page_setup_btn = new Button ("Set Page Size and Orientation");
page_setup_btn.Clicked += delegate {
this.print_operation.DefaultPageSetup = Print.RunPageSetupDialog (null, print_operation.DefaultPageSetup, this.print_operation.PrintSettings);
- current_settings.Text = String.Format (Catalog.GetString ("Paper Size: {0} x {1} mm"), print_operation.DefaultPageSetup.GetPaperWidth (Unit.Mm), print_operation.DefaultPageSetup.GetPaperHeight (Unit.Mm));
+ current_settings.Text = String.Format (Catalog.GetString ("Paper Size: {0} x {1} mm"),
+ Math.Round (print_operation.DefaultPageSetup.GetPaperWidth (Unit.Mm), 1),
+ Math.Round (print_operation.DefaultPageSetup.GetPaperHeight (Unit.Mm), 1));
};
vb.PackStart (page_setup_btn, false, false, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]