mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-31 19:07:43 +01:00
Make in/out buttons behave more like Gtk::MenuToolButton
Make them popup their menu as if attached rather than as a context menu.
This commit is contained in:
parent
9095d60f96
commit
3ab6ff8be7
1 changed files with 5 additions and 2 deletions
|
|
@ -918,7 +918,9 @@ MixerStrip::output_press (GdkEventButton *ev)
|
|||
citems.push_back (SeparatorElem());
|
||||
citems.push_back (MenuElem (_("Routing Grid"), sigc::mem_fun (*(static_cast<RouteUI*>(this)), &RouteUI::edit_output_configuration)));
|
||||
|
||||
output_menu.popup (1, ev->time);
|
||||
Gtkmm2ext::anchored_menu_popup(&output_menu, &output_button, "",
|
||||
1, ev->time);
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
@ -1020,7 +1022,8 @@ MixerStrip::input_press (GdkEventButton *ev)
|
|||
citems.push_back (SeparatorElem());
|
||||
citems.push_back (MenuElem (_("Routing Grid"), sigc::mem_fun (*(static_cast<RouteUI*>(this)), &RouteUI::edit_input_configuration)));
|
||||
|
||||
input_menu.popup (1, ev->time);
|
||||
Gtkmm2ext::anchored_menu_popup(&input_menu, &input_button, "",
|
||||
1, ev->time);
|
||||
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue