summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-06-06 22:41:50 +0000
committerDavid Robillard <d@drobilla.net>2009-06-06 22:41:50 +0000
commit9851334e79a585775d9e57e270fc00f497eaaf84 (patch)
treea70762e4c53b74a6e91c70245e492273631b7b63
parent5e6d421dac80359477a926456a56a7772bfc0945 (diff)
downloadingen-9851334e79a585775d9e57e270fc00f497eaaf84.tar.gz
ingen-9851334e79a585775d9e57e270fc00f497eaaf84.tar.bz2
ingen-9851334e79a585775d9e57e270fc00f497eaaf84.zip
Fix window titles.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2093 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--src/gui/NodeControlWindow.cpp4
-rw-r--r--src/gui/NodeModule.cpp1
-rw-r--r--src/gui/NodePropertiesWindow.cpp2
-rw-r--r--src/gui/PatchWindow.cpp2
-rw-r--r--src/gui/PortPropertiesWindow.cpp2
5 files changed, 6 insertions, 5 deletions
diff --git a/src/gui/NodeControlWindow.cpp b/src/gui/NodeControlWindow.cpp
index 167d7255..65ab5f21 100644
--- a/src/gui/NodeControlWindow.cpp
+++ b/src/gui/NodeControlWindow.cpp
@@ -45,7 +45,7 @@ NodeControlWindow::NodeControlWindow(SharedPtr<NodeModel> node, uint32_t poly)
property_resizable() = true;
set_border_width(5);
- set_title(_node->path().str() + " Controls");
+ set_title(_node->path().chop_scheme() + " Controls - Ingen");
Glib::RefPtr<Gnome::Glade::Xml> xml = GladeFactory::new_glade_reference("warehouse_win");
xml->get_widget_derived("control_panel_vbox", _control_panel);
@@ -73,7 +73,7 @@ NodeControlWindow::NodeControlWindow(SharedPtr<NodeModel> node, ControlPanel* pa
property_resizable() = true;
set_border_width(5);
- set_title(_node->path().str() + " Controls");
+ set_title(_node->path().chop_scheme() + " Controls - Ingen");
_control_panel->reparent(*this);
diff --git a/src/gui/NodeModule.cpp b/src/gui/NodeModule.cpp
index d360784a..fbc89fc3 100644
--- a/src/gui/NodeModule.cpp
+++ b/src/gui/NodeModule.cpp
@@ -300,6 +300,7 @@ NodeModule::popup_gui()
_gui_widget = Glib::wrap(c_widget);
_gui_window = new Gtk::Window();
+ _gui_window->set_title(_node->path().chop_scheme() + " UI - Ingen");
_gui_window->set_role("plugin_ui");
_gui_window->add(*_gui_widget);
_gui_widget->show_all();
diff --git a/src/gui/NodePropertiesWindow.cpp b/src/gui/NodePropertiesWindow.cpp
index be2bd3d5..0ce607fb 100644
--- a/src/gui/NodePropertiesWindow.cpp
+++ b/src/gui/NodePropertiesWindow.cpp
@@ -49,7 +49,7 @@ NodePropertiesWindow::set_node(SharedPtr<NodeModel> node_model)
_node_model = node_model;
- set_title(node_model->path().str() + " Properties");
+ set_title(node_model->path().str() + " Properties - Ingen");
_node_path_label->set_text(node_model->path().str());
_node_polyphonic_toggle->set_active(node_model->polyphonic());
diff --git a/src/gui/PatchWindow.cpp b/src/gui/PatchWindow.cpp
index af651e34..31aa11bf 100644
--- a/src/gui/PatchWindow.cpp
+++ b/src/gui/PatchWindow.cpp
@@ -253,7 +253,7 @@ PatchWindow::set_patch(SharedPtr<PatchModel> patch, SharedPtr<PatchView> view)
((int)_view->canvas()->width() - width)/2,
((int)_view->canvas()->height() - height)/2);
- set_title(_patch->path().str() + " - Ingen");
+ set_title(_patch->path().chop_scheme() + " - Ingen");
new_port_connection = patch->signal_new_port.connect(
sigc::mem_fun(this, &PatchWindow::patch_port_added));
diff --git a/src/gui/PortPropertiesWindow.cpp b/src/gui/PortPropertiesWindow.cpp
index 3efe02bd..79db728e 100644
--- a/src/gui/PortPropertiesWindow.cpp
+++ b/src/gui/PortPropertiesWindow.cpp
@@ -64,7 +64,7 @@ PortPropertiesWindow::present(SharedPtr<PortModel> pm)
_port_model = pm;
- set_title(pm->path().str() + " Properties");
+ set_title(pm->path().chop_scheme() + " Properties - Ingen");
float min = 0.0f, max = 1.0f;
boost::shared_ptr<NodeModel> parent = PtrCast<NodeModel>(_port_model->parent());