diff options
author | nick_m <mainsbridge@gmail.com> | 2015-03-14 03:52:03 +1100 |
---|---|---|
committer | nick_m <mainsbridge@gmail.com> | 2015-03-14 03:52:03 +1100 |
commit | 88e5fccbf1c59686b1c5eb6ff8c7f0261d5b95a6 (patch) | |
tree | 328058a74d77c7080ce564133148a1da6c9a812d | |
parent | 5090934a2ce2f4033c6dfa3ae2d6c911f2a10a45 (diff) |
Don't set the following dialogs to be transients for the editor:
Control point dialog
Edit note dialog
Both types of tempo dialog
Both types of meter dialog.
-rw-r--r-- | gtk2_ardour/editor_mouse.cc | 2 | ||||
-rw-r--r-- | gtk2_ardour/editor_tempodisplay.cc | 8 |
2 files changed, 0 insertions, 10 deletions
diff --git a/gtk2_ardour/editor_mouse.cc b/gtk2_ardour/editor_mouse.cc index f0723ab5bc..392901b74c 100644 --- a/gtk2_ardour/editor_mouse.cc +++ b/gtk2_ardour/editor_mouse.cc @@ -1925,7 +1925,6 @@ Editor::edit_control_point (ArdourCanvas::Item* item) } ControlPointDialog d (p); - ensure_float (d); if (d.run () != RESPONSE_ACCEPT) { return; @@ -1945,7 +1944,6 @@ Editor::edit_notes (MidiRegionView* mrv) EditNoteDialog* d = new EditNoteDialog (mrv, s); d->show_all (); - ensure_float (*d); d->signal_response().connect (sigc::bind (sigc::mem_fun (*this, &Editor::note_edit_done), d)); } diff --git a/gtk2_ardour/editor_tempodisplay.cc b/gtk2_ardour/editor_tempodisplay.cc index cbb3dcbdfe..4c2b40f1f0 100644 --- a/gtk2_ardour/editor_tempodisplay.cc +++ b/gtk2_ardour/editor_tempodisplay.cc @@ -196,8 +196,6 @@ Editor::mouse_add_new_tempo_event (framepos_t frame) //this causes compiz to display no border. //tempo_dialog.signal_realize().connect (sigc::bind (sigc::ptr_fun (set_decoration), &tempo_dialog, Gdk::WMDecoration (Gdk::DECOR_BORDER|Gdk::DECOR_RESIZEH))); - ensure_float (tempo_dialog); - switch (tempo_dialog.run()) { case RESPONSE_ACCEPT: break; @@ -238,8 +236,6 @@ Editor::mouse_add_new_meter_event (framepos_t frame) //this causes compiz to display no border.. //meter_dialog.signal_realize().connect (sigc::bind (sigc::ptr_fun (set_decoration), &meter_dialog, Gdk::WMDecoration (Gdk::DECOR_BORDER|Gdk::DECOR_RESIZEH))); - ensure_float (meter_dialog); - switch (meter_dialog.run ()) { case RESPONSE_ACCEPT: break; @@ -290,8 +286,6 @@ Editor::edit_meter_section (MeterSection* section) { MeterDialog meter_dialog (*section, _("done")); - ensure_float (meter_dialog); - switch (meter_dialog.run()) { case RESPONSE_ACCEPT: break; @@ -320,8 +314,6 @@ Editor::edit_tempo_section (TempoSection* section) { TempoDialog tempo_dialog (*section, _("done")); - ensure_float (tempo_dialog); - switch (tempo_dialog.run ()) { case RESPONSE_ACCEPT: break; |