summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0edb572)
raw | patch | inline | side by side (parent: 0edb572)
author | glimmer07 <glimmer07@users.sourceforge.net> | |
Mon, 17 Aug 2009 19:23:12 +0000 (19:23 +0000) | ||
committer | glimmer07 <glimmer07@users.sourceforge.net> | |
Mon, 17 Aug 2009 19:23:12 +0000 (19:23 +0000) |
src/extension/dbus/document-interface.cpp | patch | blob | history |
index ff691bab6c7d22c8554225649627b4f6e70f8912..e2d7a41a2e3c01dd8e61bb485d966d49c543b249 100644 (file)
sp_repr_set_int(newNode, "sodipodi:argument", 0);
sp_repr_set_int(newNode, "sodipodi:expansion", 1);
gchar * retval = finish_create_shape (object, error, newNode, (gchar *)"create spiral");
- newNode->setAttribute("style", "fill:none");
+ //Makes sure there is no fill for spirals by default.
+ gchar* newString = g_strconcat(newNode->attribute("style"), ";fill:none", NULL);
+ newNode->setAttribute("style", newString);
+ g_free(newString);
return retval;
}