mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
remove all of Gtk::Window::set_position (WIN_POS_MOUSE) for anything deriving from ArdourDialog or ArdourWindow; move the set_position() call into those classes' constructors, so that they are called before the windows are realized, and thus it actually works
This commit is contained in:
parent
d14f43ccf2
commit
3973ce81b3
31 changed files with 32 additions and 69 deletions
|
|
@ -933,7 +933,6 @@ ARDOUR_UI::ask_about_saving_session (const vector<string>& actions)
|
|||
window.get_vbox()->pack_start (dhbox);
|
||||
|
||||
window.set_name (_("Prompter"));
|
||||
window.set_position (Gtk::WIN_POS_MOUSE);
|
||||
window.set_modal (true);
|
||||
window.set_resizable (false);
|
||||
|
||||
|
|
@ -1367,8 +1366,6 @@ ARDOUR_UI::open_recent_session ()
|
|||
|
||||
while (true) {
|
||||
|
||||
session_selector_window->set_position (WIN_POS_MOUSE);
|
||||
|
||||
ResponseType r = (ResponseType) session_selector_window->run ();
|
||||
|
||||
switch (r) {
|
||||
|
|
@ -3246,7 +3243,6 @@ ARDOUR_UI::add_route (Gtk::Window* float_window)
|
|||
|
||||
if (add_route_dialog == 0) {
|
||||
add_route_dialog = new AddRouteDialog (_session);
|
||||
add_route_dialog->set_position (WIN_POS_MOUSE);
|
||||
if (float_window) {
|
||||
add_route_dialog->set_transient_for (*float_window);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue