From 597fa9212f27d2448c0cdd20fbf616928c662cc1 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 15 Nov 2009 03:17:26 +0000 Subject: Better Parse plugin, working Print plugin. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2262 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/Configuration.cpp | 2 +- src/gui/ControlPanel.cpp | 2 +- src/gui/PortMenu.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui') 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 pm) Glib::RefPtr 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 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 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; -- cgit v1.2.1