summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-11-15 03:17:26 +0000
committerDavid Robillard <d@drobilla.net>2009-11-15 03:17:26 +0000
commit597fa9212f27d2448c0cdd20fbf616928c662cc1 (patch)
treed761421a2a7eaa55761ebdf48b794ccf6489cb95 /src/gui
parent6ae2018e81e7e81e4906e62dc6224ad34298d9c2 (diff)
downloadingen-597fa9212f27d2448c0cdd20fbf616928c662cc1.tar.gz
ingen-597fa9212f27d2448c0cdd20fbf616928c662cc1.tar.bz2
ingen-597fa9212f27d2448c0cdd20fbf616928c662cc1.zip
Better Parse plugin, working Print plugin.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2262 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/Configuration.cpp2
-rw-r--r--src/gui/ControlPanel.cpp2
-rw-r--r--src/gui/PortMenu.cpp2
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;