From 8857abc0288405e9402b2137472dad1982af527a Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 2 Nov 2022 09:19:05 -0600 Subject: [PATCH] ensure that freesound token dialog is always on top (of similar windows) --- gtk2_ardour/sfdb_freesound_mootcher.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk2_ardour/sfdb_freesound_mootcher.cc b/gtk2_ardour/sfdb_freesound_mootcher.cc index 955b2c0b31..a4e86305c6 100644 --- a/gtk2_ardour/sfdb_freesound_mootcher.cc +++ b/gtk2_ardour/sfdb_freesound_mootcher.cc @@ -263,10 +263,12 @@ Mootcher::get_oauth_token() ArdourWidgets::Prompter token_entry(true); token_entry.set_prompt(_("Please log in to Freesound in the browser window that's just been opened, and paste the authorization code here")); token_entry.set_title(_("Authorization Code")); + token_entry.set_keep_above (true); token_entry.set_name ("TokenEntryWindow"); // token_entry.set_size_request (250, -1); token_entry.set_position (Gtk::WIN_POS_MOUSE); + token_entry.set_position (Gtk::WIN_POS_MOUSE); token_entry.add_button (Gtk::Stock::OK, Gtk::RESPONSE_ACCEPT); token_entry.show ();