Bind PageDown and PageUp to next/previous in fullscreen view.
authorJoel Rosdahl <joel@rosdahl.net>
Mon, 23 Jan 2006 21:47:24 +0000 (21:47 +0000)
committerJoel Rosdahl <joel@rosdahl.net>
Mon, 23 Jan 2006 21:47:24 +0000 (21:47 +0000)
src/packages/kofoto/gkofoto/fullscreenwindow.py

index 111d405..1c70e29 100644 (file)
@@ -88,6 +88,12 @@ class FullScreenWindow(gtk.Window):
         if event.keyval == gtk.gdk.keyval_from_name("Left"):
             self.previous()
             return True
+        if event.keyval == 65366: # PageDown
+            self.next()
+            return True
+        if event.keyval == 65365: # PageUp
+            self.previous()
+            return True
         if event.keyval == gtk.gdk.keyval_from_name("Escape"):
             self.destroy()
             return True