summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0ba1b77)
raw | patch | inline | side by side (parent: 0ba1b77)
author | gouldtj <gouldtj@users.sourceforge.net> | |
Mon, 30 Jan 2006 05:11:32 +0000 (05:11 +0000) | ||
committer | gouldtj <gouldtj@users.sourceforge.net> | |
Mon, 30 Jan 2006 05:11:32 +0000 (05:11 +0000) |
Working, but not going down submenus right.
src/extension/effect.cpp | patch | blob | history |
index 0b333f3f8440593f1d5602e92e069246cb6eb942..78380dde1d71a74d4f36909d46535df6cbf5dbdb 100644 (file)
--- a/src/extension/effect.cpp
+++ b/src/extension/effect.cpp
_menu_node->setAttribute("verb-id", this->get_id(), false);
merge_menu(_effects_list, local_effects_menu, _menu_node);
+ if (!strcmp(this->get_id(), "org.ekips.filter.interp"))
+ sp_repr_print(_effects_list->parent());
}
return;
Glib::ustring mergename;
Inkscape::XML::Node * tomerge = NULL;
+ /* printf("Merge menu with '%s' '%s' '%s'\n",
+ base != NULL ? base->name() : "NULL",
+ patern != NULL ? patern->name() : "NULL",
+ mergee != NULL ? mergee->name() : "NULL"); */
+
if (patern == NULL) {
// Merge the verb name
tomerge = mergee;
}
if (patern != NULL) {
- printf("Going recursive\n");
merge_menu(tomerge, patern->firstChild(), mergee);
}