diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2005-11-29 17:27:58 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2005-11-29 17:27:58 +0000 |
commit | 4a19b4732f15953a062b2f8ffc05df52a22ef020 (patch) | |
tree | 541744aee6bdb56f53ffddc75894cd15e818815b /gtk2_ardour/option_editor.cc | |
parent | 7886d3232ca2eafedc05e12bd0adbd5abe535f64 (diff) |
cleanup leftover problems from my commit yesterday; return of the windows
git-svn-id: svn://localhost/trunk/ardour2@149 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/option_editor.cc')
-rw-r--r-- | gtk2_ardour/option_editor.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/option_editor.cc b/gtk2_ardour/option_editor.cc index 803e17d79b..99dcbd0535 100644 --- a/gtk2_ardour/option_editor.cc +++ b/gtk2_ardour/option_editor.cc @@ -71,7 +71,7 @@ static vector<string> layer_mode_strings; static vector<string> xfade_model_strings; OptionEditor::OptionEditor (ARDOUR_UI& uip, PublicEditor& ed, Mixer_UI& mixui) - : ArdourDialog ("option editor"), + : Dialog ("option editor"), ui (uip), editor (ed), mixer (mixui), @@ -159,8 +159,7 @@ OptionEditor::OptionEditor (ARDOUR_UI& uip, PublicEditor& ed, Mixer_UI& mixui) layer_mode_label.set_name ("OptionsLabel"); xfade_model_label.set_name ("OptionsLabel"); - VBox *vbox = manage(new VBox); - add (*vbox); + VBox *vbox = get_vbox(); set_border_width (3); vbox->set_spacing (4); @@ -197,6 +196,7 @@ OptionEditor::OptionEditor (ARDOUR_UI& uip, PublicEditor& ed, Mixer_UI& mixui) } set_session (0); + show_all_children(); } void @@ -1398,7 +1398,7 @@ OptionEditor::strip_width_clicked () void OptionEditor::just_close_win() { - hide_all(); + hide(); } void |