summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a811147)
raw | patch | inline | side by side (parent: a811147)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Sat, 29 Dec 2007 00:45:04 +0000 (00:45 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Sat, 29 Dec 2007 00:45:04 +0000 (00:45 +0000) |
src/ui/dialog/document-properties.cpp | patch | blob | history |
index 7bbafcea0271678551286670555865b2f789dd48..20413417bca5943640e3363234f832ef70863808 100644 (file)
}
_grids_combo_gridtype.set_active_text( CanvasGrid::getName(GRID_RECTANGULAR) );
- for (GSList const * l = nv->grids; l != NULL; l = l->next) {
- Inkscape::CanvasGrid * grid = (Inkscape::CanvasGrid*) l->data;
- _grids_notebook.append_page(grid->getWidget(), grid->repr->attribute("id"));
- }
-
_grids_space.set_size_request (SPACE_SIZE_X, SPACE_SIZE_Y);
_grids_vbox.set_spacing(4);
_grids_vbox.pack_start(_grids_notebook, false, false);
_grids_vbox.pack_start(_grids_button_remove, false, false);
_grids_button_remove.hide();
+
+ update_gridspage();
}