From: ghost Date: Fri, 6 Nov 2009 10:43:37 +0000 (+0100) Subject: Revert "small fix" X-Git-Tag: 3.0.0~28^2~66^2~213 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/e66d0ee5f86946cf2d0c3dc5a0ea369917e0cfd3 Revert "small fix" This reverts commit 1c954ba161bc3cd4b838b3c5a423d41847f0382a. --- diff --git a/lib/python/Screens/InfoBarGenerics.py b/lib/python/Screens/InfoBarGenerics.py index df853218..9a6a099c 100644 --- a/lib/python/Screens/InfoBarGenerics.py +++ b/lib/python/Screens/InfoBarGenerics.py @@ -910,8 +910,8 @@ class InfoBarSeek: def seekFwd(self): seek = self.getSeek() - if seek and not (seek.isCurrentlySeekable() & 2): - if not self.fast_winding_hint_message_showed and (seek.isCurrentlySeekable() & 1): + if seek and (seek.isCurrentlySeekable() & 1) and not (seek.isCurrentlySeekable() & 2): + if not self.fast_winding_hint_message_showed: 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 not (seek.isCurrentlySeekable() & 2): - if not self.fast_winding_hint_message_showed and (seek.isCurrentlySeekable() & 1): + if seek and (seek.isCurrentlySeekable() & 1) and not (seek.isCurrentlySeekable() & 2): + if not self.fast_winding_hint_message_showed: 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