Code

Fix two legacy icon IDs
authortweenk <tweenk@users.sourceforge.net>
Mon, 13 Apr 2009 23:43:33 +0000 (23:43 +0000)
committertweenk <tweenk@users.sourceforge.net>
Mon, 13 Apr 2009 23:43:33 +0000 (23:43 +0000)
src/ui/dialog/document-properties.cpp

index 6b3e2357938115c69e81dfaedf2d17b717c52c59..5c9d0cb484305fc2aa6d3e3635837ba6522ebea2 100644 (file)
@@ -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;