mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
patch from brian to get consistent menu behaviour
git-svn-id: svn://localhost/ardour2/trunk@1155 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
7c20b38281
commit
fd289ac967
10 changed files with 13 additions and 13 deletions
|
|
@ -609,7 +609,7 @@ ARDOUR_UI::show_shuttle_context_menu ()
|
||||||
build_shuttle_context_menu ();
|
build_shuttle_context_menu ();
|
||||||
}
|
}
|
||||||
|
|
||||||
shuttle_context_menu->popup (1, 0);
|
shuttle_context_menu->popup (1, gtk_get_current_event_time());
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
@ -815,7 +815,7 @@ ARDOUR_UI::shuttle_unit_clicked ()
|
||||||
if (shuttle_unit_menu == 0) {
|
if (shuttle_unit_menu == 0) {
|
||||||
shuttle_unit_menu = dynamic_cast<Menu*> (ActionManager::get_widget ("/ShuttleUnitPopup"));
|
shuttle_unit_menu = dynamic_cast<Menu*> (ActionManager::get_widget ("/ShuttleUnitPopup"));
|
||||||
}
|
}
|
||||||
shuttle_unit_menu->popup (1, 0);
|
shuttle_unit_menu->popup (1, gtk_get_current_event_time());
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
||||||
|
|
@ -192,7 +192,7 @@ AutomationTimeAxisView::auto_clicked ()
|
||||||
bind (mem_fun(*this, &AutomationTimeAxisView::set_automation_state), (AutoState) Touch)));
|
bind (mem_fun(*this, &AutomationTimeAxisView::set_automation_state), (AutoState) Touch)));
|
||||||
}
|
}
|
||||||
|
|
||||||
automation_menu->popup (1, 0);
|
automation_menu->popup (1, gtk_get_current_event_time());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -119,7 +119,7 @@ Editor::edit_group_list_button_press_event (GdkEventButton* ev)
|
||||||
if (edit_group_list_menu == 0) {
|
if (edit_group_list_menu == 0) {
|
||||||
build_edit_group_list_menu ();
|
build_edit_group_list_menu ();
|
||||||
}
|
}
|
||||||
edit_group_list_menu->popup (1, 0);
|
edit_group_list_menu->popup (1, ev->time);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -470,7 +470,7 @@ Editor::show_route_list_menu()
|
||||||
build_route_list_menu ();
|
build_route_list_menu ();
|
||||||
}
|
}
|
||||||
|
|
||||||
route_list_menu->popup (1, 0);
|
route_list_menu->popup (1, gtk_get_current_event_time());
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
|
|
|
||||||
|
|
@ -421,7 +421,7 @@ Editor::popup_ruler_menu (nframes_t where, ItemType t)
|
||||||
mitem->set_active(true);
|
mitem->set_active(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
editor_ruler_menu->popup (1, 0);
|
editor_ruler_menu->popup (1, gtk_get_current_event_time());
|
||||||
|
|
||||||
no_ruler_shown_update = false;
|
no_ruler_shown_update = false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -579,7 +579,7 @@ LadspaPluginUI::astate_clicked (ControlUI* cui, uint32_t port)
|
||||||
items.push_back (MenuElem (_("Touch"),
|
items.push_back (MenuElem (_("Touch"),
|
||||||
bind (mem_fun(*this, &LadspaPluginUI::set_automation_state), (AutoState) Touch, cui)));
|
bind (mem_fun(*this, &LadspaPluginUI::set_automation_state), (AutoState) Touch, cui)));
|
||||||
|
|
||||||
automation_menu->popup (1, 0);
|
automation_menu->popup (1, gtk_get_current_event_time());
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
||||||
|
|
@ -656,7 +656,7 @@ Mixer_UI::show_track_list_menu ()
|
||||||
build_track_menu ();
|
build_track_menu ();
|
||||||
}
|
}
|
||||||
|
|
||||||
track_menu->popup (1, 0);
|
track_menu->popup (1, gtk_get_current_event_time());
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
|
|
@ -765,7 +765,7 @@ Mixer_UI::group_display_button_press (GdkEventButton* ev)
|
||||||
if (mix_group_context_menu == 0) {
|
if (mix_group_context_menu == 0) {
|
||||||
build_mix_group_context_menu ();
|
build_mix_group_context_menu ();
|
||||||
}
|
}
|
||||||
mix_group_context_menu->popup (1, 0);
|
mix_group_context_menu->popup (1, ev->time);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -593,7 +593,7 @@ Panner2d::show_context_menu ()
|
||||||
}
|
}
|
||||||
|
|
||||||
bypass_menu_item->set_active (panner.bypassed());
|
bypass_menu_item->set_active (panner.bypassed());
|
||||||
context_menu->popup (1, 0);
|
context_menu->popup (1, gtk_get_current_event_time());
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
||||||
|
|
@ -510,7 +510,7 @@ RouteParams_UI::show_track_menu()
|
||||||
(MenuElem (_("Add Track/Bus"),
|
(MenuElem (_("Add Track/Bus"),
|
||||||
mem_fun (*(ARDOUR_UI::instance()), &ARDOUR_UI::add_route)));
|
mem_fun (*(ARDOUR_UI::instance()), &ARDOUR_UI::add_route)));
|
||||||
}
|
}
|
||||||
track_menu->popup (1, 0);
|
track_menu->popup (1, gtk_get_current_event_time());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -358,7 +358,7 @@ RouteTimeAxisView::playlist_click ()
|
||||||
|
|
||||||
build_playlist_menu (playlist_action_menu);
|
build_playlist_menu (playlist_action_menu);
|
||||||
editor.set_selected_track (*this, Selection::Add);
|
editor.set_selected_track (*this, Selection::Add);
|
||||||
playlist_action_menu->popup (1, 0);
|
playlist_action_menu->popup (1, gtk_get_current_event_time());
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
@ -371,7 +371,7 @@ RouteTimeAxisView::automation_click ()
|
||||||
build_display_menu ();
|
build_display_menu ();
|
||||||
}
|
}
|
||||||
editor.set_selected_track (*this, Selection::Add);
|
editor.set_selected_track (*this, Selection::Add);
|
||||||
automation_action_menu->popup (1, 0);
|
automation_action_menu->popup (1, gtk_get_current_event_time());
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue