diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-07-22 15:22:58 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-02-22 15:31:22 -0500 |
commit | cf93eaec98fcd2a09173f7f975a74b3fcfe3a320 (patch) | |
tree | eb511e361e848841d4d3505a3bb542aa69cea4c2 /gtk2_ardour/ardour_ui2.cc | |
parent | fd938d95bfd37f2ae428938c8efee55e9196fd4f (diff) |
break out window ops for Tabbables into show/hide/attach/detach
Diffstat (limited to 'gtk2_ardour/ardour_ui2.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui2.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/ardour_ui2.cc b/gtk2_ardour/ardour_ui2.cc index 100e0235a3..c895262cb6 100644 --- a/gtk2_ardour/ardour_ui2.cc +++ b/gtk2_ardour/ardour_ui2.cc @@ -97,6 +97,10 @@ ARDOUR_UI::setup_windows () return -1; } + rc_option_editor = new RCOptionEditor; + rc_option_editor->add_to_notebook (_tabs, _("Preferences")); + rc_option_editor->contents().show_all (); + /* all other dialogs are created conditionally */ we_have_dependents (); @@ -181,10 +185,6 @@ ARDOUR_UI::setup_windows () _main_window.show_all (); setup_toplevel_window (_main_window, "", this); - rc_option_editor = new RCOptionEditor; - rc_option_editor->add_to_notebook (_tabs, _("Preferences")); - rc_option_editor->contents().show_all (); - _tabs.signal_switch_page().connect (sigc::mem_fun (*this, &ARDOUR_UI::tabs_switch)); _tabs.signal_page_removed().connect (sigc::mem_fun (*this, &ARDOUR_UI::tabs_page_removed)); _tabs.signal_page_added().connect (sigc::mem_fun (*this, &ARDOUR_UI::tabs_page_added)); |