Code

revert a small bit in document-properties.cpp of rev 17540. page sizer init() was...
authorjohanengelen <johanengelen@users.sourceforge.net>
Thu, 28 Feb 2008 10:36:39 +0000 (10:36 +0000)
committerjohanengelen <johanengelen@users.sourceforge.net>
Thu, 28 Feb 2008 10:36:39 +0000 (10:36 +0000)
src/ui/dialog/document-properties.cpp

index 572f1ef7e974581b4b8f264caafa0a8c24108341..ac4fb9285c987fc3768dca4d6420a036a9b5d7a7 100644 (file)
@@ -134,7 +134,6 @@ DocumentProperties::DocumentProperties()
     _notebook.append_page(_page_snap,      _("Snap"));
     _notebook.append_page(_page_snap_dtls, _("Snap points"));
 
-    _page_sizer.init();
     build_page();
     build_guides();
     build_gridspage();
@@ -227,6 +226,7 @@ DocumentProperties::build_page()
     label_bor->set_markup (_("<b>Border</b>"));
     Gtk::Label *label_for = manage (new Gtk::Label);
     label_for->set_markup (_("<b>Format</b>"));
+    _page_sizer.init();
 
     Gtk::Widget *const widget_array[] =
     {