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/step_entry.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/step_entry.cc')
-rw-r--r-- | gtk2_ardour/step_entry.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/step_entry.cc b/gtk2_ardour/step_entry.cc index 8c26e1d20e..61bdeacae0 100644 --- a/gtk2_ardour/step_entry.cc +++ b/gtk2_ardour/step_entry.cc @@ -57,7 +57,7 @@ _rest_event_handler (GtkWidget* /*widget*/, gpointer arg) } StepEntry::StepEntry (StepEditor& seditor) - : ArdourDialog (string_compose (_("Step Entry: %1"), seditor.name())) + : ArdourWindow (string_compose (_("Step Entry: %1"), seditor.name())) , _current_note_length (1.0) , _current_note_velocity (64) , triplet_button ("3") @@ -458,7 +458,7 @@ StepEntry::StepEntry (StepEditor& seditor) packer.pack_start (*piano, false, false); packer.show_all (); - get_vbox()->add (packer); + add (packer); /* initial settings: quarter note and mezzo forte */ @@ -574,7 +574,7 @@ StepEntry::note_off_event_handler (int note) void StepEntry::on_show () { - ArdourDialog::on_show (); + ArdourWindow::on_show (); //piano->grab_focus (); } |