mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
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.
This commit is contained in:
parent
5090934a2c
commit
88e5fccbf1
2 changed files with 0 additions and 10 deletions
|
|
@ -1925,7 +1925,6 @@ Editor::edit_control_point (ArdourCanvas::Item* item)
|
||||||
}
|
}
|
||||||
|
|
||||||
ControlPointDialog d (p);
|
ControlPointDialog d (p);
|
||||||
ensure_float (d);
|
|
||||||
|
|
||||||
if (d.run () != RESPONSE_ACCEPT) {
|
if (d.run () != RESPONSE_ACCEPT) {
|
||||||
return;
|
return;
|
||||||
|
|
@ -1945,7 +1944,6 @@ Editor::edit_notes (MidiRegionView* mrv)
|
||||||
|
|
||||||
EditNoteDialog* d = new EditNoteDialog (mrv, s);
|
EditNoteDialog* d = new EditNoteDialog (mrv, s);
|
||||||
d->show_all ();
|
d->show_all ();
|
||||||
ensure_float (*d);
|
|
||||||
|
|
||||||
d->signal_response().connect (sigc::bind (sigc::mem_fun (*this, &Editor::note_edit_done), d));
|
d->signal_response().connect (sigc::bind (sigc::mem_fun (*this, &Editor::note_edit_done), d));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -196,8 +196,6 @@ Editor::mouse_add_new_tempo_event (framepos_t frame)
|
||||||
//this causes compiz to display no border.
|
//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)));
|
//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()) {
|
switch (tempo_dialog.run()) {
|
||||||
case RESPONSE_ACCEPT:
|
case RESPONSE_ACCEPT:
|
||||||
break;
|
break;
|
||||||
|
|
@ -238,8 +236,6 @@ Editor::mouse_add_new_meter_event (framepos_t frame)
|
||||||
//this causes compiz to display no border..
|
//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)));
|
//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 ()) {
|
switch (meter_dialog.run ()) {
|
||||||
case RESPONSE_ACCEPT:
|
case RESPONSE_ACCEPT:
|
||||||
break;
|
break;
|
||||||
|
|
@ -290,8 +286,6 @@ Editor::edit_meter_section (MeterSection* section)
|
||||||
{
|
{
|
||||||
MeterDialog meter_dialog (*section, _("done"));
|
MeterDialog meter_dialog (*section, _("done"));
|
||||||
|
|
||||||
ensure_float (meter_dialog);
|
|
||||||
|
|
||||||
switch (meter_dialog.run()) {
|
switch (meter_dialog.run()) {
|
||||||
case RESPONSE_ACCEPT:
|
case RESPONSE_ACCEPT:
|
||||||
break;
|
break;
|
||||||
|
|
@ -320,8 +314,6 @@ Editor::edit_tempo_section (TempoSection* section)
|
||||||
{
|
{
|
||||||
TempoDialog tempo_dialog (*section, _("done"));
|
TempoDialog tempo_dialog (*section, _("done"));
|
||||||
|
|
||||||
ensure_float (tempo_dialog);
|
|
||||||
|
|
||||||
switch (tempo_dialog.run ()) {
|
switch (tempo_dialog.run ()) {
|
||||||
case RESPONSE_ACCEPT:
|
case RESPONSE_ACCEPT:
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue