add route dialog should always show up wherever the mouse is, not in its last location
This commit is contained in:
parent
57000d7d5a
commit
bd43428a65
|
@ -64,6 +64,7 @@ AddRouteDialog::AddRouteDialog ()
|
|||
set_modal (true);
|
||||
set_skip_taskbar_hint (true);
|
||||
set_resizable (false);
|
||||
set_position (WIN_POS_MOUSE);
|
||||
|
||||
name_template_entry.set_name (X_("AddRouteDialogNameTemplateEntry"));
|
||||
// routes_spinner.set_name (X_("AddRouteDialogSpinner"));
|
||||
|
@ -293,7 +294,7 @@ AddRouteDialog::track_type_chosen ()
|
|||
route_group_combo.set_sensitive (true);
|
||||
break;
|
||||
case MixedTrack:
|
||||
{
|
||||
{
|
||||
MessageDialog msg (_("Audio+MIDI tracks are intended for use <b>ONLY</b> with plugins that use both audio and MIDI input data\n\n"
|
||||
"If you do not plan to use such a plugin, then use a normal audio or MIDI track instead."),
|
||||
true, MESSAGE_INFO, BUTTONS_OK, true);
|
||||
|
|
|
@ -473,6 +473,9 @@ ARDOUR_UI::ARDOUR_UI (int *argcp, char **argvp[], const char* localedir)
|
|||
WM::Manager::instance().register_window (&audio_port_matrix);
|
||||
WM::Manager::instance().register_window (&midi_port_matrix);
|
||||
|
||||
/* do not retain position for add route dialog */
|
||||
add_route_dialog.set_state_mask (WindowProxy::Size);
|
||||
|
||||
/* Trigger setting up the color scheme and loading the GTK RC file */
|
||||
|
||||
UIConfiguration::instance().load_rc_file (false);
|
||||
|
|
Loading…
Reference in New Issue