Skip to content

Commit

Permalink
Merge pull request #16 from maxaykin/nav_first_last
Browse files Browse the repository at this point in the history
Add keyboard navigation to the first and the last image
  • Loading branch information
hellosiyan committed Sep 27, 2017
2 parents 1c83094 + c8ab39b commit b98f919
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/vnr-window.c
Original file line number Diff line number Diff line change
Expand Up @@ -1944,6 +1944,14 @@ vnr_window_key_press (GtkWidget *widget, GdkEventKey *event)
vnr_window_prev(window);
result = TRUE;
break;
case GDK_KEY_Home:
vnr_window_first(window);
result = TRUE;
break;
case GDK_KEY_End:
vnr_window_last(window);
result = TRUE;
break;
case 'h':
vnr_window_cmd_flip_horizontal(NULL, window);
break;
Expand Down

0 comments on commit b98f919

Please sign in to comment.