diff options
Diffstat (limited to 'gtk2_ardour/option_editor.cc')
-rw-r--r-- | gtk2_ardour/option_editor.cc | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/gtk2_ardour/option_editor.cc b/gtk2_ardour/option_editor.cc index 7102458d61..0a71a82b0f 100644 --- a/gtk2_ardour/option_editor.cc +++ b/gtk2_ardour/option_editor.cc @@ -478,16 +478,28 @@ ClockOption::set_session (Session* s) _clock.set_session (s); } +OptionEditorPage::OptionEditorPage () + : table (1, 3) +{ + init (); +} + OptionEditorPage::OptionEditorPage (Gtk::Notebook& n, std::string const & t) : table (1, 3) { - table.set_spacings (4); - table.set_col_spacing (0, 32); + init (); box.pack_start (table, false, false); box.set_border_width (4); n.append_page (box, t); } +void +OptionEditorPage::init () +{ + table.set_spacings (4); + table.set_col_spacing (0, 32); +} + /** Construct an OptionEditor. * @param o Configuration to edit. * @param t Title for the dialog. |