From f79a6a6162bcb9451a68c6e95ac463d48eeacff6 Mon Sep 17 00:00:00 2001 From: Mads Kiilerich Date: Sat, 26 Jul 2025 20:47:23 +0200 Subject: [PATCH] SessionDialog: Name the dialog after what it does, not after the initial state The dialog always has 3 different tabs. After changing the tab, the window title became misleading. It seems more helpful to use a windows title that shows the intent of the dialog: Selecting a session. --- gtk2_ardour/session_dialog.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/session_dialog.cc b/gtk2_ardour/session_dialog.cc index 2a12eb2a9b..6e2697c153 100644 --- a/gtk2_ardour/session_dialog.cc +++ b/gtk2_ardour/session_dialog.cc @@ -77,7 +77,7 @@ using namespace ArdourWidgets; using namespace ARDOUR_UI_UTILS; SessionDialog::SessionDialog (DialogTab initial_tab, const std::string& session_name, const std::string& session_path, const std::string& template_name, bool cancel_not_quit) - : ArdourDialog (initial_tab == New ? _("Session Setup") : _("Recent Sessions"), true, true) + : ArdourDialog (_("Select Session"), true, true) , _initial_tab (initial_tab) , new_name_was_edited (false) , new_folder_chooser (FILE_CHOOSER_ACTION_SELECT_FOLDER)