diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/Configuration.cpp | 2 | ||||
-rw-r--r-- | src/gui/ControlPanel.cpp | 2 | ||||
-rw-r--r-- | src/gui/PortMenu.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/Configuration.cpp b/src/gui/Configuration.cpp index 58a2abc5..2169093e 100644 --- a/src/gui/Configuration.cpp +++ b/src/gui/Configuration.cpp @@ -94,7 +94,7 @@ Configuration::get_port_color(const PortModel* p) return _event_port_color; /*} else if (p->type().is_osc()) { return _osc_port_color; - */} else if (p->type().is_object()) { + */} else if (p->type().is_value()) { return _object_port_color; } diff --git a/src/gui/ControlPanel.cpp b/src/gui/ControlPanel.cpp index 95cd6e02..fdfba8b7 100644 --- a/src/gui/ControlPanel.cpp +++ b/src/gui/ControlPanel.cpp @@ -120,7 +120,7 @@ ControlPanel::add_port(SharedPtr<PortModel> pm) Glib::RefPtr<Gnome::Glade::Xml> xml = GladeFactory::new_glade_reference("toggle_control"); xml->get_widget_derived("toggle_control", tc); control = tc; - } else if (pm->type().is_object()) { + } else if (pm->type().is_value()) { StringControl* sc; Glib::RefPtr<Gnome::Glade::Xml> xml = GladeFactory::new_glade_reference("string_control"); xml->get_widget_derived("string_control", sc); diff --git a/src/gui/PortMenu.cpp b/src/gui/PortMenu.cpp index 8a98b281..647dac8b 100644 --- a/src/gui/PortMenu.cpp +++ b/src/gui/PortMenu.cpp @@ -48,7 +48,7 @@ PortMenu::init(SharedPtr<PortModel> port, bool patch_port) _destroy_menuitem->hide(); } - if (port->type() == DataType::EVENTS || port->type() == DataType::OBJECT) + if (port->type() == DataType::EVENTS || port->type() == DataType::VALUE) _polyphonic_menuitem->hide(); _enable_signal = true; |