summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6fae402)
raw | patch | inline | side by side (parent: 6fae402)
author | speleo3 <speleo3@users.sourceforge.net> | |
Mon, 25 May 2009 08:52:44 +0000 (08:52 +0000) | ||
committer | speleo3 <speleo3@users.sourceforge.net> | |
Mon, 25 May 2009 08:52:44 +0000 (08:52 +0000) |
src/path-chemistry.cpp | patch | blob | history |
diff --git a/src/path-chemistry.cpp b/src/path-chemistry.cpp
index 46160ccf4fde0c663610f0f0af38fee568a11c03..99ee78ade932963fbb01cabfca7e7f0411965935 100644 (file)
--- a/src/path-chemistry.cpp
+++ b/src/path-chemistry.cpp
}
-// FIXME: THIS DOES NOT REVERSE THE NODETYPES ORDER!
void
sp_selected_path_reverse(SPDesktop *desktop)
{
g_free(str);
rcurve->unref();
+
+ // reverse nodetypes order (Bug #179866)
+ gchar *nodetypes = g_strdup(SP_OBJECT_REPR(path)->attribute("sodipodi:nodetypes"));
+ if ( nodetypes ) {
+ SP_OBJECT_REPR(path)->setAttribute("sodipodi:nodetypes", g_strreverse(nodetypes));
+ g_free(nodetypes);
+ }
}
desktop->clearWaitingCursor();