diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-01-22 17:16:33 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-01-22 19:19:00 +0100 |
commit | 455069c6ec3e3b08dda1c7cc1104161a935b0364 (patch) | |
tree | 1b76310e41b6f45951c7923dcced06d30021dd42 /libreofficekit | |
parent | lokdocview: log lok::Document::getTextSelection() parameters (diff) | |
download | core-455069c6ec3e3b08dda1c7cc1104161a935b0364.tar.gz core-455069c6ec3e3b08dda1c7cc1104161a935b0364.zip |
lokdocview: handle page down and page up
Change-Id: I119633474236faa95ecf5fd26cd89789b313e382
Diffstat (limited to 'libreofficekit')
-rw-r--r-- | libreofficekit/source/gtk/lokdocview.cxx | 6 |
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) |