summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d2025f1)
raw | patch | inline | side by side (parent: d2025f1)
author | ishmal <ishmal@users.sourceforge.net> | |
Sun, 20 Aug 2006 11:18:00 +0000 (11:18 +0000) | ||
committer | ishmal <ishmal@users.sourceforge.net> | |
Sun, 20 Aug 2006 11:18:00 +0000 (11:18 +0000) |
src/ui/widget/page-sizer.cpp | patch | blob | history |
index 642f64c43342b361ac724ffd80dd588b53b32b65..2c2f3363bcdc44bcc014d320d128a4c00b773069 100644 (file)
{
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");
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);