From 0d3ccb87c579240a7b1d2a8b31679d02d16d0a40 Mon Sep 17 00:00:00 2001 From: ishmal Date: Sun, 20 Aug 2006 11:18:00 +0000 Subject: [PATCH] Last tweaks for now --- src/ui/widget/page-sizer.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ui/widget/page-sizer.cpp b/src/ui/widget/page-sizer.cpp index 642f64c43..2c2f3363b 100644 --- a/src/ui/widget/page-sizer.cpp +++ b/src/ui/widget/page-sizer.cpp @@ -210,7 +210,7 @@ PageSizer::PageSizer() : Gtk::VBox(false,4) { Glib::ustring name = p->name; char formatBuf[80]; - snprintf(formatBuf, 79, "%0.2f x %0.2f", p->smaller, p->larger); + snprintf(formatBuf, 79, "%0.1f x %0.1f", p->smaller, p->larger); Glib::ustring desc = formatBuf; if (p->unit == SP_UNIT_IN) desc.append(" in"); @@ -224,9 +224,9 @@ PageSizer::PageSizer() : Gtk::VBox(false,4) row[_paperSizeListColumns.nameColumn] = name; row[_paperSizeListColumns.descColumn] = desc; } - //Gtk::TreeModel::Row row = _paperSizeListStore->children()[0]; - //if (row) - // _paperSizeListSelection->select(row); + //Gtk::TreeModel::iterator iter = _paperSizeListStore->children().begin(); + //if (iter) + // _paperSizeListSelection->select(iter); pack_start (_paperSizeListBox, false, false, 0); -- 2.30.2