small fix
authorghost <andreas.monzner@multimedia-labs.de>
Thu, 5 Nov 2009 10:43:01 +0000 (11:43 +0100)
committerghost <andreas.monzner@multimedia-labs.de>
Thu, 3 Dec 2009 17:00:36 +0000 (18:00 +0100)
lib/python/Screens/InfoBarGenerics.py

index 24ebada..5d24013 100644 (file)
@@ -910,8 +910,8 @@ class InfoBarSeek:
 
        def seekFwd(self):
                seek = self.getSeek()
-               if seek and (seek.isCurrentlySeekable() & 1) and not (seek.isCurrentlySeekable() & 2):
-                       if not self.fast_winding_hint_message_showed:
+               if seek and not (seek.isCurrentlySeekable() & 2):
+                       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
@@ -945,8 +945,8 @@ class InfoBarSeek:
 
        def seekBack(self):
                seek = self.getSeek()
-               if seek and (seek.isCurrentlySeekable() & 1) and not (seek.isCurrentlySeekable() & 2):
-                       if not self.fast_winding_hint_message_showed:
+               if seek and not (seek.isCurrentlySeekable() & 2):
+                       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