git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f11b19e
)
fix EOF bug, display pvrstate only when seeking
author
Felix Domke
<tmbinc@elitedvb.net>
Thu, 26 Jan 2006 14:18:56 +0000
(14:18 +0000)
committer
Felix Domke
<tmbinc@elitedvb.net>
Thu, 26 Jan 2006 14:18:56 +0000
(14:18 +0000)
lib/python/Screens/InfoBarGenerics.py
patch
|
blob
|
history
diff --git
a/lib/python/Screens/InfoBarGenerics.py
b/lib/python/Screens/InfoBarGenerics.py
index f40feb3f82f72f155a2a5f11c9d764daca8b9ee9..f1267afa0b5206a885d4dbc9e820ba56e447932b 100644
(file)
--- a/
lib/python/Screens/InfoBarGenerics.py
+++ b/
lib/python/Screens/InfoBarGenerics.py
@@
-95,11
+95,14
@@
class InfoBarShowHide:
def lockShow(self):
self.__locked = self.__locked + 1
def lockShow(self):
self.__locked = self.__locked + 1
- self.show()
+ if self.execing:
+ self.show()
+ self.hideTimer.stop()
def unlockShow(self):
self.__locked = self.__locked - 1
def unlockShow(self):
self.__locked = self.__locked - 1
- self.startHideTimer()
+ if self.execing:
+ self.startHideTimer()
# def startShow(self):
# self.instance.m_animation.startMoveAnimation(ePoint(0, 600), ePoint(0, 380), 100)
# def startShow(self):
# self.instance.m_animation.startMoveAnimation(ePoint(0, 600), ePoint(0, 380), 100)
@@
-456,7
+459,7
@@
class InfoBarSeek:
"""handles actions like seeking, pause"""
# ispause, isff, issm
"""handles actions like seeking, pause"""
# ispause, isff, issm
- SEEK_STATE_PLAY = (0, 0, 0, "")
+ SEEK_STATE_PLAY = (0, 0, 0, "
>
")
SEEK_STATE_PAUSE = (1, 0, 0, "||")
SEEK_STATE_FF_2X = (0, 2, 0, ">> 2x")
SEEK_STATE_FF_4X = (0, 4, 0, ">> 4x")
SEEK_STATE_PAUSE = (1, 0, 0, "||")
SEEK_STATE_FF_2X = (0, 2, 0, ">> 2x")
SEEK_STATE_FF_4X = (0, 4, 0, ">> 4x")
@@
-708,12
+711,17
@@
class InfoBarPVRState:
def __init__(self):
self.onPlayStateChanged.append(self.__playStateChanged)
self.pvrStateDialog = self.session.instantiateDialog(PVRState)
def __init__(self):
self.onPlayStateChanged.append(self.__playStateChanged)
self.pvrStateDialog = self.session.instantiateDialog(PVRState)
- self.onShow.append(self.
pvrStateDialog.s
how)
+ self.onShow.append(self.
__mayS
how)
self.onHide.append(self.pvrStateDialog.hide)
self.onHide.append(self.pvrStateDialog.hide)
+ def __mayShow(self):
+ if self.seekstate != self.SEEK_STATE_PLAY:
+ self.pvrStateDialog.show()
+
def __playStateChanged(self, state):
playstateString = state[3]
self.pvrStateDialog["state"].setText(playstateString)
def __playStateChanged(self, state):
playstateString = state[3]
self.pvrStateDialog["state"].setText(playstateString)
+ self.__mayShow()
class InfoBarShowMovies:
class InfoBarShowMovies: