From 05283a63398fd7a563480a76802e6b2c2ad2e404 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 19 Nov 2011 00:56:35 +0000 Subject: 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 --- gtk2_ardour/midi_list_editor.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk2_ardour/midi_list_editor.cc') diff --git a/gtk2_ardour/midi_list_editor.cc b/gtk2_ardour/midi_list_editor.cc index c6dfc6c713..879b1a9f2f 100644 --- a/gtk2_ardour/midi_list_editor.cc +++ b/gtk2_ardour/midi_list_editor.cc @@ -38,7 +38,7 @@ using namespace Glib; using namespace ARDOUR; MidiListEditor::MidiListEditor (Session* s, boost::shared_ptr r) - : ArdourDialog (r->name(), false, false) + : ArdourWindow (r->name()) , region (r) { /* We do not handle nested sources/regions. Caller should have tackled this */ @@ -83,7 +83,7 @@ MidiListEditor::MidiListEditor (Session* s, boost::shared_ptr r) view.show (); scroller.show (); - get_vbox()->pack_start (scroller); + add (scroller); set_size_request (400, 400); } -- cgit v1.2.3