summaryrefslogtreecommitdiffstats
path: root/src/gui/NodeModule.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-04-22 02:07:08 +0000
committerDavid Robillard <d@drobilla.net>2012-04-22 02:07:08 +0000
commit6bef80f5e1bdf724a77ef989ce9a7205f426a378 (patch)
tree77d9ab0fed55cd34063a9e411615fe47effa9df6 /src/gui/NodeModule.cpp
parent55316f80cbebdcae03c71b9ecd88706ed4133b50 (diff)
downloadingen-6bef80f5e1bdf724a77ef989ce9a7205f426a378.tar.gz
ingen-6bef80f5e1bdf724a77ef989ce9a7205f426a378.tar.bz2
ingen-6bef80f5e1bdf724a77ef989ce9a7205f426a378.zip
Show non-resizable plugin UIs properly.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4228 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/NodeModule.cpp')
-rw-r--r--src/gui/NodeModule.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/NodeModule.cpp b/src/gui/NodeModule.cpp
index 9719ed67..b4820008 100644
--- a/src/gui/NodeModule.cpp
+++ b/src/gui/NodeModule.cpp
@@ -307,6 +307,9 @@ NodeModule::popup_gui()
_gui_widget = Glib::wrap(c_widget);
_gui_window = new Gtk::Window();
+ if (!_plugin_ui->is_resizable()) {
+ _gui_window->set_resizable(false);
+ }
_gui_window->set_title(_node->path().chop_scheme() + " UI - Ingen");
_gui_window->set_role("plugin_ui");
_gui_window->add(*_gui_widget);