InfoBarGenerics.py: small fix
authorghost <andreas.monzner@multimedia-labs.de>
Wed, 30 Dec 2009 16:15:52 +0000 (17:15 +0100)
committerghost <andreas.monzner@multimedia-labs.de>
Wed, 30 Dec 2009 16:15:52 +0000 (17:15 +0100)
lib/python/Screens/InfoBarGenerics.py

index 67bd2631a86d5a5f3333f7e397cf82bea7aa0756..2d98c30c3003729636b02d326b8146593ac7e212 100644 (file)
@@ -920,7 +920,8 @@ class InfoBarSeek:
                        if not self.fast_winding_hint_message_showed and (seek.isCurrentlySeekable() & 1):
                                self.session.open(MessageBox, _("No fast winding possible yet.. but you can use the number buttons to skip forward/backward!"), MessageBox.TYPE_INFO, timeout=10)
                                self.fast_winding_hint_message_showed = True
-                       return
+                               return
+                       return 0 # trade as unhandled action
                if self.seekstate == self.SEEK_STATE_PLAY:
                        self.setSeekState(self.makeStateForward(int(config.seek.enter_forward.value)))
                elif self.seekstate == self.SEEK_STATE_PAUSE:
@@ -955,7 +956,8 @@ class InfoBarSeek:
                        if not self.fast_winding_hint_message_showed and (seek.isCurrentlySeekable() & 1):
                                self.session.open(MessageBox, _("No fast winding possible yet.. but you can use the number buttons to skip forward/backward!"), MessageBox.TYPE_INFO, timeout=10)
                                self.fast_winding_hint_message_showed = True
-                       return
+                               return
+                       return 0 # trade as unhandled action
                seekstate = self.seekstate
                if seekstate == self.SEEK_STATE_PLAY:
                        self.setSeekState(self.makeStateBackward(int(config.seek.enter_backward.value)))