diff options
-rw-r--r-- | src/PatchageModule.cpp | 8 | ||||
-rw-r--r-- | src/PatchagePort.hpp | 2 |
2 files changed, 6 insertions, 4 deletions
diff --git a/src/PatchageModule.cpp b/src/PatchageModule.cpp index 4576261..6ebf335 100644 --- a/src/PatchageModule.cpp +++ b/src/PatchageModule.cpp @@ -131,14 +131,16 @@ PatchageModule::join() void PatchageModule::add_port(FlowCanvas::Port* port) { - FlowCanvas::Module::add_port(port); + std::cerr << "FIXME: add port" << std::endl; + //FlowCanvas::Module::add_port(port); update_menu(); } void PatchageModule::remove_port(FlowCanvas::Port* port) { - FlowCanvas::Module::remove_port(port); + std::cerr << "FIXME: remove port" << std::endl; + //FlowCanvas::Module::remove_port(port); update_menu(); } @@ -146,7 +148,7 @@ void PatchageModule::menu_disconnect_all() { for (iterator p = begin(); p != end(); ++p) - (*p)->disconnect_all(); + (*p)->disconnect(); } PatchagePort* diff --git a/src/PatchagePort.hpp b/src/PatchagePort.hpp index d770002..c54e055 100644 --- a/src/PatchagePort.hpp +++ b/src/PatchagePort.hpp @@ -61,7 +61,7 @@ public: Gtk::Menu* menu = Gtk::manage(new Gtk::Menu()); menu->items().push_back( Gtk::Menu_Helpers::MenuElem( - "Disconnect All", sigc::mem_fun(this, &Port::disconnect_all))); + "Disconnect All", sigc::mem_fun(this, &Port::disconnect))); menu->popup(ev->button, ev->time); return true; |