diff options
Diffstat (limited to 'app-text/epdfview/files/vikeybindings.patch')
-rw-r--r-- | app-text/epdfview/files/vikeybindings.patch | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/app-text/epdfview/files/vikeybindings.patch b/app-text/epdfview/files/vikeybindings.patch deleted file mode 100644 index 2e4b4d4..0000000 --- a/app-text/epdfview/files/vikeybindings.patch +++ /dev/null @@ -1,42 +0,0 @@ -Index: src/gtk/PageView.cxx -=================================================================== ---- src/gtk/PageView.cxx (revision 296) -+++ src/gtk/PageView.cxx (revision 300) -@@ -572,23 +572,37 @@ - { - case GDK_Left: - case GDK_KP_Left: -+ case GDK_h: - direction = GTK_SCROLL_STEP_LEFT; - horizontal = TRUE; - break; - - case GDK_Right: - case GDK_KP_Right: -+ case GDK_l: - horizontal = TRUE; - direction = GTK_SCROLL_STEP_RIGHT; - break; - - case GDK_Up: - case GDK_KP_Up: -+ case GDK_k: -+ if ( position == adjustment->lower ) -+ { -+ pter->scrollToPreviousPage (); -+ return TRUE; -+ } - direction = GTK_SCROLL_STEP_UP; - break; - - case GDK_Down: - case GDK_KP_Down: -+ case GDK_j: -+ if ( position == ( adjustment->upper - adjustment->page_size) ) -+ { -+ pter->scrollToNextPage (); -+ return TRUE; -+ } - direction = GTK_SCROLL_STEP_DOWN; - break; - |