+ /* pack the main vpacker into the main window and show everything
+ */
+
+ _main_window.add (main_vpacker);
+ transport_frame.show_all ();
+ _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));
+
+ /* It would be nice if Gtkmm had wrapped this rather than just
+ * deprecating the old set_window_creation_hook() method, but oh well...
+ */
+ g_signal_connect (_tabs.gobj(), "create-window", (GCallback) ::tab_window_root_drop, this);
+