Permalink
Browse files

Merge pull request #16 from maxaykin/nav_first_last

Add keyboard navigation to the first and the last image
  • Loading branch information...
hellosiyan committed Sep 27, 2017
2 parents 1c83094 + c8ab39b commit b98f919215f3ef1d261aa44539438adadad5a62c
Showing with 8 additions and 0 deletions.
  1. +8 −0 src/vnr-window.c
View
@@ -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;

0 comments on commit b98f919

Please sign in to comment.