From: speare Date: Mon, 6 Apr 2009 03:19:29 +0000 (+0000) Subject: Fix for bug #338521 - align node buttons did not match 0.46 ordering or names. IDs... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0469c2272599c4b1aea850f3a6138be715f36e51;p=inkscape.git Fix for bug #338521 - align node buttons did not match 0.46 ordering or names. IDs got swapped. --- diff --git a/share/icons/hicolor/scalable/actions/align-horizontal-node.svg b/share/icons/hicolor/scalable/actions/align-horizontal-node.svg index 7c37e1533..df4980b17 100644 --- a/share/icons/hicolor/scalable/actions/align-horizontal-node.svg +++ b/share/icons/hicolor/scalable/actions/align-horizontal-node.svg @@ -6,7 +6,6 @@ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" - xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="48px" @@ -14,7 +13,7 @@ id="svg12119" sodipodi:version="0.32" inkscape:version="0.46+devel r20659" - sodipodi:docname="node-align-horizontal.svg" + sodipodi:docname="node-align-vertical.svg" inkscape:output_extension="org.inkscape.output.svg.inkscape"> @@ -53,41 +52,47 @@ inkscape:label="Layer 1" inkscape:groupmode="layer"> + id="node_halign" + transform="matrix(1.9995416,0,0,1.9995416,-2349.4554,-279.93061)" + inkscape:label="#node_halign"> + d="m 1175.498,152.4972 22.999,0 0,0" + id="path5318" /> + + - - + height="4.0071669" + x="1183.5219" + y="150.50192" /> + diff --git a/share/icons/hicolor/scalable/actions/align-vertical-node.svg b/share/icons/hicolor/scalable/actions/align-vertical-node.svg index df4980b17..7c37e1533 100644 --- a/share/icons/hicolor/scalable/actions/align-vertical-node.svg +++ b/share/icons/hicolor/scalable/actions/align-vertical-node.svg @@ -6,6 +6,7 @@ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="48px" @@ -13,7 +14,7 @@ id="svg12119" sodipodi:version="0.32" inkscape:version="0.46+devel r20659" - sodipodi:docname="node-align-vertical.svg" + sodipodi:docname="node-align-horizontal.svg" inkscape:output_extension="org.inkscape.output.svg.inkscape"> @@ -52,47 +53,41 @@ inkscape:label="Layer 1" inkscape:groupmode="layer"> + id="node_valign" + inkscape:label="#node_valign" + transform="matrix(1.9995417,0,0,1.9995417,-2349.4501,-279.92484)"> - + d="m 1186.5,140.5008 0,22.9992 0,0" + id="path5262" /> - - + id="rect5251" + style="color:#000000;fill:#8ab3de;fill-opacity:1;fill-rule:evenodd;stroke:#0000ff;stroke-width:0.9999997;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:0;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;display:inline" /> + + diff --git a/share/icons/icons.svg b/share/icons/icons.svg index 429080832..6f31731dd 100644 --- a/share/icons/icons.svg +++ b/share/icons/icons.svg @@ -1770,14 +1770,14 @@ http://www.inkscape.org/ - + - + diff --git a/src/ui/dialog/align-and-distribute.cpp b/src/ui/dialog/align-and-distribute.cpp index 6d2ed20da..09fe89cff 100644 --- a/src/ui/dialog/align-and-distribute.cpp +++ b/src/ui/dialog/align-and-distribute.cpp @@ -894,10 +894,10 @@ AlignAndDistribute::AlignAndDistribute() //Node Mode buttons addNodeButton(INKSCAPE_ICON_ALIGN_HORIZONTAL_NODES, _("Align selected nodes horizontally"), - 0, Geom::Y, false); + 0, Geom::X, false); addNodeButton(INKSCAPE_ICON_ALIGN_VERTICAL_NODES, _("Align selected nodes vertically"), - 1, Geom::X, false); + 1, Geom::Y, false); addNodeButton(INKSCAPE_ICON_DISTRIBUTE_HORIZONTAL_NODE, _("Distribute selected nodes horizontally"), 2, Geom::X, true);