more keybinding/editing fixes

git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2627 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2007-11-12 22:13:19 +00:00
parent c67d1aca64
commit a461d6b3b3
4 changed files with 6 additions and 5 deletions

View file

@ -199,12 +199,12 @@
; (gtk_accel_path "<Actions>/Snap/snap-to-edit-cursor" "")
(gtk_accel_path "<Actions>/Editor/temporal-zoom-in" "minus")
; (gtk_accel_path "<Actions>/JACK/Latency" "")
(gtk_accel_path "<Actions>/Editor/edit-cursor-to-range-end" "F2")
(gtk_accel_path "<Actions>/Editor/edit-cursor-to-range-end" "<Shift>F2")
; (gtk_accel_path "<Actions>/redirectmenu/rename" "")
; (gtk_accel_path "<Actions>/RegionList/rlShowAuto" "")
(gtk_accel_path "<Actions>/Editor/select-all-before-playhead" "<Control>p")
; (gtk_accel_path "<Actions>/Main/Session" "")
(gtk_accel_path "<Actions>/Editor/edit-cursor-to-range-start" "F1")
(gtk_accel_path "<Actions>/Editor/edit-cursor-to-range-start" "<Shift>F1")
; (gtk_accel_path "<Actions>/Main/AudioFileFormat" "")
; (gtk_accel_path "<Actions>/Transport/Transport" "")
(gtk_accel_path "<Actions>/MouseMode/set-mouse-mode-timefx" "t")

View file

@ -1938,7 +1938,6 @@ Editor::add_dstream_context_items (Menu_Helpers::MenuList& edit_items)
select_items.push_back (MenuElem (_("Select All Within Playhead & Edit Point"), bind (mem_fun(*this, &Editor::select_all_selectables_between), true)));
select_items.push_back (MenuElem (_("Select Range Between Playhead & Edit Point"), mem_fun(*this, &Editor::select_range_between)));
select_items.push_back (SeparatorElem());
edit_items.push_back (MenuElem (_("Select"), *select_menu));

View file

@ -41,6 +41,8 @@ using namespace sigc;
void
Editor::keyboard_selection_finish (bool add)
{
cerr << "here\n";
if (session && have_pending_keyboard_selection) {
nframes64_t end;

View file

@ -880,7 +880,7 @@ Editor::edit_point_to_selection_start ()
Location* loc;
bool ignored;
if (!session || _edit_point != EditAtSelectedMarker || selection->markers.empty()) {
if (!session || selection->markers.empty()) {
return;
}
@ -915,7 +915,7 @@ Editor::edit_point_to_selection_end ()
Location* loc;
bool ignored;
if (!session || _edit_point != EditAtSelectedMarker || selection->markers.empty()) {
if (!session || selection->markers.empty()) {
return;
}