aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens/MovieSelection.py
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-07-09 23:14:46 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-07-09 23:14:46 +0000
commit6f8002cec40c9b53387ace05ea1f9a083acd0f3a (patch)
treec05e60bdef768f80e7abba6b2203911b87c68c3f /lib/python/Screens/MovieSelection.py
parent927c65c04c7e538a32fa81ac337f541f35eb477d (diff)
downloadenigma2-6f8002cec40c9b53387ace05ea1f9a083acd0f3a.tar.gz
enigma2-6f8002cec40c9b53387ace05ea1f9a083acd0f3a.zip
just recalc length of visible entries in movie selection
Diffstat (limited to 'lib/python/Screens/MovieSelection.py')
-rw-r--r--lib/python/Screens/MovieSelection.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/python/Screens/MovieSelection.py b/lib/python/Screens/MovieSelection.py
index ac0ca373..ab36adda 100644
--- a/lib/python/Screens/MovieSelection.py
+++ b/lib/python/Screens/MovieSelection.py
@@ -110,9 +110,6 @@ class MovieSelection(Screen):
})
self["actions"].csel = self
self.onShown.append(self.go)
-
- self.lengthTimer = eTimer()
- self.lengthTimer.timeout.get().append(self.updateLengthData)
self.inited = False
def showEventInformation(self):
@@ -139,12 +136,6 @@ class MovieSelection(Screen):
self.updateTags()
- def updateLengthData(self):
- self.list.updateLengthOfIndex(self.lengthPosition)
- self.lengthPosition += 1
- if self.lengthPosition < self.lengthLength:
- self.lengthTimer.start(10, 1)
-
def moveTo(self):
self["list"].moveTo(self.selectedmovie)
@@ -152,7 +143,6 @@ class MovieSelection(Screen):
return self["list"].getCurrent()
def movieSelected(self):
- self.lengthTimer.stop()
current = self.getCurrent()
if current is not None:
self.close(current)
@@ -197,15 +187,9 @@ class MovieSelection(Screen):
def reloadList(self):
self["list"].reload(self.current_ref, self.selected_tags)
- self.lengthTimer.start(10, 1)
- self.lengthPosition = 0
- self.lengthLength = len(self["list"])
-
title = _("Recorded files...")
-
if self.selected_tags is not None:
title += " - " + ','.join(self.selected_tags)
-
self.setTitle(title)
def showAll(self):