diff options
author | David Robillard <d@drobilla.net> | 2009-11-16 04:32:16 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-11-16 04:32:16 +0000 |
commit | b1a0a1b76ee1c9ae469c3d73543998662adc05ee (patch) | |
tree | cfd8cfadb3285f373f314a212b71c4d98eb987b2 /src/gui/NodePropertiesWindow.cpp | |
parent | 4ae2cca91a7482d23837f27b4c5130b0dbde98f3 (diff) | |
download | ingen-b1a0a1b76ee1c9ae469c3d73543998662adc05ee.tar.gz ingen-b1a0a1b76ee1c9ae469c3d73543998662adc05ee.tar.bz2 ingen-b1a0a1b76ee1c9ae469c3d73543998662adc05ee.zip |
Add close button to node properties dialog.
Make resize window a dialog, transient of patch window (center nicely, etc).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2270 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/NodePropertiesWindow.cpp')
-rw-r--r-- | src/gui/NodePropertiesWindow.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/NodePropertiesWindow.cpp b/src/gui/NodePropertiesWindow.cpp index 39115bd2..f3058e5d 100644 --- a/src/gui/NodePropertiesWindow.cpp +++ b/src/gui/NodePropertiesWindow.cpp @@ -36,6 +36,10 @@ NodePropertiesWindow::NodePropertiesWindow(BaseObjectType* cobject, const Glib:: glade_xml->get_widget("node_properties_plugin_type_label", _plugin_type_label); glade_xml->get_widget("node_properties_plugin_uri_label", _plugin_uri_label); glade_xml->get_widget("node_properties_plugin_name_label", _plugin_name_label); + glade_xml->get_widget("node_properties_close_button", _close_button); + + _close_button->signal_clicked().connect( + sigc::mem_fun(this, &Window::hide)); } |