From b1a0a1b76ee1c9ae469c3d73543998662adc05ee Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 16 Nov 2009 04:32:16 +0000 Subject: 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 --- src/gui/NodePropertiesWindow.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gui/NodePropertiesWindow.cpp') 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)); } -- cgit v1.2.1