From: gouldtj Date: Mon, 30 Jan 2006 05:11:32 +0000 (+0000) Subject: r10816@tres: ted | 2006-01-29 15:14:36 -0800 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b0667f2fc65d8c3fe2da38647b4d205fd56f752d;p=inkscape.git r10816@tres: ted | 2006-01-29 15:14:36 -0800 Working, but not going down submenus right. --- diff --git a/src/extension/effect.cpp b/src/extension/effect.cpp index 0b333f3f8..78380dde1 100644 --- a/src/extension/effect.cpp +++ b/src/extension/effect.cpp @@ -56,6 +56,8 @@ Effect::Effect (Inkscape::XML::Node * in_repr, Implementation::Implementation * _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; @@ -68,6 +70,11 @@ Effect::merge_menu (Inkscape::XML::Node * base, 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; @@ -117,7 +124,6 @@ Effect::merge_menu (Inkscape::XML::Node * base, } if (patern != NULL) { - printf("Going recursive\n"); merge_menu(tomerge, patern->firstChild(), mergee); }