summaryrefslogtreecommitdiff
path: root/libreofficekit
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-01-22 17:16:33 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-01-22 19:19:00 +0100
commit455069c6ec3e3b08dda1c7cc1104161a935b0364 (patch)
tree1b76310e41b6f45951c7923dcced06d30021dd42 /libreofficekit
parent3d6dd6d83d0084ac5287413579cf7c1d62734078 (diff)
lokdocview: handle page down and page up
Change-Id: I119633474236faa95ecf5fd26cd89789b313e382
Diffstat (limited to 'libreofficekit')
-rw-r--r--libreofficekit/source/gtk/lokdocview.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/libreofficekit/source/gtk/lokdocview.cxx b/libreofficekit/source/gtk/lokdocview.cxx
index 74b7b844f2d8..73f27bc9fe0d 100644
--- a/libreofficekit/source/gtk/lokdocview.cxx
+++ b/libreofficekit/source/gtk/lokdocview.cxx
@@ -592,6 +592,12 @@ signalKey (GtkWidget* pWidget, GdkEventKey* pEvent)
case GDK_KEY_Right:
nKeyCode = com::sun::star::awt::Key::RIGHT;
break;
+ case GDK_KEY_Page_Down:
+ nKeyCode = com::sun::star::awt::Key::PAGEDOWN;
+ break;
+ case GDK_KEY_Page_Up:
+ nKeyCode = com::sun::star::awt::Key::PAGEUP;
+ break;
case GDK_KEY_Shift_L:
case GDK_KEY_Shift_R:
if (pEvent->type == GDK_KEY_PRESS)