diff options
author | David Robillard <d@drobilla.net> | 2011-11-19 00:56:35 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-11-19 00:56:35 +0000 |
commit | 05283a63398fd7a563480a76802e6b2c2ad2e404 (patch) | |
tree | a0906614a0fc132fca8d5c910fdc97f5e694585b /gtk2_ardour/plugin_ui.cc | |
parent | a9fb657a47470c5cb439bca5745d4fec8d16b322 (diff) |
Only use ArdourDialog (and thus Gtk::Dialog) for actual dialogs.
Fixes #4364.
I havn't fully tested every single dialog and window (heck, I don't even know
how to get at half of them), and there may be some packing niggles, but this is
the bulk of the work. The Gnome 3 kiddies can close their dialogs now, anyway
:)
git-svn-id: svn://localhost/ardour2/branches/3.0@10699 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/plugin_ui.cc')
-rw-r--r-- | gtk2_ardour/plugin_ui.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/plugin_ui.cc b/gtk2_ardour/plugin_ui.cc index 741fcbe631..f7410bba3c 100644 --- a/gtk2_ardour/plugin_ui.cc +++ b/gtk2_ardour/plugin_ui.cc @@ -61,7 +61,7 @@ #include <lrdf.h> -#include "ardour_dialog.h" +#include "ardour_window.h" #include "ardour_ui.h" #include "prompter.h" #include "plugin_ui.h" @@ -561,8 +561,8 @@ PlugUIBase::latency_button_clicked () { if (!latency_gui) { latency_gui = new LatencyGUI (*(insert.get()), insert->session().frame_rate(), insert->session().get_block_size()); - latency_dialog = new ArdourDialog (_("Edit Latency"), false, false); - latency_dialog->get_vbox()->pack_start (*latency_gui); + latency_dialog = new ArdourWindow (_("Edit Latency")); + latency_dialog->add (*latency_gui); latency_dialog->signal_hide().connect (sigc::mem_fun (*this, &PlugUIBase::set_latency_label)); } |