summaryrefslogtreecommitdiff
path: root/gtk2_ardour/option_editor.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-11-19 00:56:35 +0000
committerDavid Robillard <d@drobilla.net>2011-11-19 00:56:35 +0000
commit05283a63398fd7a563480a76802e6b2c2ad2e404 (patch)
treea0906614a0fc132fca8d5c910fdc97f5e694585b /gtk2_ardour/option_editor.cc
parenta9fb657a47470c5cb439bca5745d4fec8d16b322 (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/option_editor.cc')
-rw-r--r--gtk2_ardour/option_editor.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk2_ardour/option_editor.cc b/gtk2_ardour/option_editor.cc
index 040adc2db9..acb8551960 100644
--- a/gtk2_ardour/option_editor.cc
+++ b/gtk2_ardour/option_editor.cc
@@ -237,7 +237,7 @@ OptionEditorPage::OptionEditorPage (Gtk::Notebook& n, std::string const & t)
* @param t Title for the dialog.
*/
OptionEditor::OptionEditor (Configuration* c, std::string const & t)
- : ArdourDialog (t, false), _config (c)
+ : ArdourWindow (t), _config (c)
{
using namespace Notebook_Helpers;
@@ -249,8 +249,7 @@ OptionEditor::OptionEditor (Configuration* c, std::string const & t)
set_border_width (4);
- get_vbox()->set_spacing (4);
- get_vbox()->pack_start (_notebook);
+ add (_notebook);
_notebook.set_show_tabs (true);
_notebook.set_show_border (true);