From 5fb83da69cd22cdb8f925f00c550b854153b84f4 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 29 Nov 2019 16:27:37 +0100 Subject: Use a detached window for Preferences at first run Once a user explicitly attaches the Window as Tab, we expect the user to know about tabbing, tab-cycling, related window/tab actions, and relevant shortcuts. Otherwise it can confusing: https://discourse.ardour.org/t/cant-get-out-of-preferences/102147 --- gtk2_ardour/rc_option_editor.cc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'gtk2_ardour') diff --git a/gtk2_ardour/rc_option_editor.cc b/gtk2_ardour/rc_option_editor.cc index d6e221f328..dea14301f2 100644 --- a/gtk2_ardour/rc_option_editor.cc +++ b/gtk2_ardour/rc_option_editor.cc @@ -2104,16 +2104,12 @@ MidiPortOptions::pretty_name_edit (std::string const & path, string const & new_ AudioEngine::instance()->set_port_pretty_name ((*iter)[midi_port_columns.fullname], new_text); } -/*============*/ RCOptionEditor::RCOptionEditor () : OptionEditorContainer (Config, string_compose (_("%1 Preferences"), PROGRAM_NAME)) - , Tabbable (*this, _("Preferences") -#ifdef MIXBUS - , false // detached by default (first start, no instant.xml) -#endif - ) /* pack self-as-vbox into tabbable */ + /* pack self-as-vbox into tabbable */ + , Tabbable (*this, _("Preferences"), /* detached by default */ false) , _rc_config (Config) , _mixer_strip_visibility ("mixer-element-visibility") { -- cgit v1.2.3