summaryrefslogtreecommitdiffstats
path: root/src/desktop.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2007-04-20 15:48:51 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2007-04-20 15:48:51 +0000
commitdb4aeda163816cad5029f7a4d37ec82afac27a91 (patch)
treefccd3fa74175d29196128e8688d8d34aa0def771 /src/desktop.cpp
parentFix emphasized gridlines bug when zoomed out. (diff)
downloadinkscape-db4aeda163816cad5029f7a4d37ec82afac27a91.tar.gz
inkscape-db4aeda163816cad5029f7a4d37ec82afac27a91.zip
grid: make grid names translatable. use different gridtype names in SVG that are not translated.
(bzr r2936)
Diffstat (limited to 'src/desktop.cpp')
-rw-r--r--src/desktop.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/desktop.cpp b/src/desktop.cpp
index bd403139e..d9f82934c 100644
--- a/src/desktop.cpp
+++ b/src/desktop.cpp
@@ -1124,7 +1124,7 @@ void SPDesktop::toggleGrid()
} else {
//there is no grid present at the moment. add a rectangular grid and make it visible
Inkscape::XML::Node *repr = SP_OBJECT_REPR(namedview);
- Inkscape::CanvasGrid::writeNewGridToRepr(repr, "xygrid");
+ Inkscape::CanvasGrid::writeNewGridToRepr(repr, Inkscape::GRID_RECTANGULAR);
grids_visible = true;
sp_canvas_item_show(SP_CANVAS_ITEM(gridgroup));
}