summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/App.cpp2
-rw-r--r--src/gui/Configuration.cpp2
-rw-r--r--src/gui/PatchCanvas.cpp4
-rw-r--r--src/gui/PortMenu.cpp2
4 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/App.cpp b/src/gui/App.cpp
index 431b144c..6f93d85e 100644
--- a/src/gui/App.cpp
+++ b/src/gui/App.cpp
@@ -398,7 +398,7 @@ App::can_control(const Client::PortModel* port) const
{
return port->is_a(uris().lv2_ControlPort)
|| port->is_a(uris().cv_CVPort)
- || (port->is_a(uris().atom_ValuePort)
+ || (port->is_a(uris().atom_AtomPort)
&& (port->supports(uris().atom_Float)
|| port->supports(uris().atom_String)));
}
diff --git a/src/gui/Configuration.cpp b/src/gui/Configuration.cpp
index b85a997c..2a304a9f 100644
--- a/src/gui/Configuration.cpp
+++ b/src/gui/Configuration.cpp
@@ -91,7 +91,7 @@ Configuration::get_port_color(const PortModel* p)
return _string_port_color;
} else if (_app.can_control(p)) {
return _control_port_color;
- } else if (p->is_a(uris.atom_MessagePort)) {
+ } else if (p->is_a(uris.atom_AtomPort)) {
return _event_port_color;
}
diff --git a/src/gui/PatchCanvas.cpp b/src/gui/PatchCanvas.cpp
index 070a1da2..1fe38e4a 100644
--- a/src/gui/PatchCanvas.cpp
+++ b/src/gui/PatchCanvas.cpp
@@ -112,10 +112,10 @@ PatchCanvas::PatchCanvas(App& app,
"control_out", "Control Out", LV2_CORE__ControlPort, true));
_menu_add_event_input->signal_activate().connect(
sigc::bind(sigc::mem_fun(this, &PatchCanvas::menu_add_port),
- "event_in", "Event In", LV2_ATOM__MessagePort, false));
+ "event_in", "Event In", LV2_ATOM__AtomPort, false));
_menu_add_event_output->signal_activate().connect(
sigc::bind(sigc::mem_fun(this, &PatchCanvas::menu_add_port),
- "event_out", "Event Out", LV2_ATOM__MessagePort, true));
+ "event_out", "Event Out", LV2_ATOM__AtomPort, true));
signal_event.connect(
sigc::mem_fun(this, &PatchCanvas::on_event));
diff --git a/src/gui/PortMenu.cpp b/src/gui/PortMenu.cpp
index dbd5890f..802628b2 100644
--- a/src/gui/PortMenu.cpp
+++ b/src/gui/PortMenu.cpp
@@ -63,7 +63,7 @@ PortMenu::init(App& app, SharedPtr<const PortModel> port, bool patch_port)
_destroy_menuitem->set_sensitive(false);
}
- if (port->is_a(uris.atom_MessagePort))
+ if (port->is_a(uris.atom_AtomPort))
_polyphonic_menuitem->hide();
const bool is_control = app.can_control(port.get())