, error_log_button (_("Errors"))
+ , _status_bar_visibility (X_("status-bar"))
+
{
using namespace Gtk::Menu_Helpers;
starting.connect (sigc::mem_fun(*this, &ARDOUR_UI::startup));
stopping.connect (sigc::mem_fun(*this, &ARDOUR_UI::shutdown));
+
}
/** @return true if a session was chosen and `apply' clicked, otherwise false if `cancel' was clicked */
throw failed_constructor ();
}
+ /* Do this after setup_windows (), as that's when the _status_bar_visibility is created */
+ XMLNode* n = Config->extra_xml (X_("UI"));
+ if (n) {
+ _status_bar_visibility.set_state (*n);
+ }
+
check_memory_locking();
/* this is the first point at which all the keybindings are available */
add_window_proxy (_global_port_matrix[*i]);
}
+ /* We have to do this here since goto_editor_window() ends up calling show_all() on the
+ * editor window, and we may want stuff to be hidden.
+ */
+ _status_bar_visibility.update ();
+
BootMessage (string_compose (_("%1 is ready for use"), PROGRAM_NAME));
}