summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2009-04-13 23:43:33 +0000
committertweenk <tweenk@users.sourceforge.net>2009-04-13 23:43:33 +0000
commitcd4c06994cb8d8ebf3a0ceebc26e6cc92886cb31 (patch)
treee0ab9eb67e969910ce61bdd599bac253bb582512
parentReally fix node alignment icons; add clarifying comment to source. (diff)
downloadinkscape-cd4c06994cb8d8ebf3a0ceebc26e6cc92886cb31.tar.gz
inkscape-cd4c06994cb8d8ebf3a0ceebc26e6cc92886cb31.zip
Fix two legacy icon IDs
(bzr r7711)
-rw-r--r--src/ui/dialog/document-properties.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/ui/dialog/document-properties.cpp b/src/ui/dialog/document-properties.cpp
index 6b3e23579..5c9d0cb48 100644
--- a/src/ui/dialog/document-properties.cpp
+++ b/src/ui/dialog/document-properties.cpp
@@ -55,9 +55,6 @@ namespace Dialog {
#define SPACE_SIZE_X 15
#define SPACE_SIZE_Y 10
-#define INKSCAPE_ICON_GRID_XY "grid_xy"
-#define INKSCAPE_ICON_GRID_AXONOM "grid_axonom"
-
//===================================================
@@ -701,10 +698,10 @@ DocumentProperties::update_gridspage()
const char *icon = NULL;
switch (grid->getGridType()) {
case GRID_RECTANGULAR:
- icon = INKSCAPE_ICON_GRID_XY;
+ icon = "grid-rectangular";
break;
case GRID_AXONOMETRIC:
- icon = INKSCAPE_ICON_GRID_AXONOM;
+ icon = "grid-axonometric";
break;
default:
break;