Return correctly from FullScreenWindow._key_press_event_cb
authorJoel Rosdahl <joel@rosdahl.net>
Mon, 30 Apr 2007 17:38:05 +0000 (19:38 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Mon, 30 Apr 2007 17:38:05 +0000 (19:38 +0200)
src/packages/kofoto/gkofoto/fullscreenwindow.py

index 8e73b55..76dbf34 100644 (file)
@@ -140,16 +140,16 @@ class FullScreenWindow(gtk.Window):
                 return True
             if event.keyval == k.plus:
                 self._image_view.zoom_in()
-                return
+                return True
             if event.keyval == k.minus:
                 self._image_view.zoom_out()
-                return
+                return True
             if event.keyval == k._0:
                 self._image_view.zoom_to_actual()
-                return
+                return True
             if event.keyval == k.equal:
                 self._image_view.zoom_to_fit()
-                return
+                return True
         return False
 
     def _maybe_cancel_load(self):