diff options
author | Sampo Savolainen <v2@iki.fi> | 2008-10-15 19:21:26 +0000 |
---|---|---|
committer | Sampo Savolainen <v2@iki.fi> | 2008-10-15 19:21:26 +0000 |
commit | 1bca6b5c74064b9e8a6f70b45fb1c04a95534d30 (patch) | |
tree | 237aff48f3f983d45345a4e6238bc486db7da780 /gtk2_ardour/plugin_ui.cc | |
parent | 68d8f26dc4308a37c0f3e03ea87f1f3059547e61 (diff) |
Make EQ Gui optional and seize updating the graph when the analysis is not visible (either via the toggle or window visibility).
git-svn-id: svn://localhost/ardour2/branches/3.0@3973 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/plugin_ui.cc')
-rw-r--r-- | gtk2_ardour/plugin_ui.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gtk2_ardour/plugin_ui.cc b/gtk2_ardour/plugin_ui.cc index ceb31561cd..06d2a04125 100644 --- a/gtk2_ardour/plugin_ui.cc +++ b/gtk2_ardour/plugin_ui.cc @@ -57,7 +57,6 @@ #include "gui_thread.h" #include "public_editor.h" #include "keyboard.h" -#include "eq_gui.h" #include "i18n.h" @@ -114,14 +113,16 @@ PluginUIWindow::PluginUIWindow (Gtk::Window* win, boost::shared_ptr<PluginInsert GenericPluginUI* pu = new GenericPluginUI (insert, scrollable); _pluginui = pu; - + add( *pu ); + + /* Gtk::HBox *hbox = new Gtk::HBox(); hbox->pack_start( *pu); // TODO: this should be nicer - hbox->pack_start( *manage(new PluginEqGui(insert))); + hbox->pack_start( eqgui_bin ); add (*manage(hbox)); - + */ set_wmclass (X_("ardour_plugin_editor"), "Ardour"); |