aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-03-21 16:30:23 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-03-21 16:30:23 +0000
commit9248bf86cddef4cf3904748bcd94ddabef68f8c7 (patch)
treed6a7db24a485a22a122b53dde6ed56ac8e1d5c70 /lib/python/Plugins
parent4404768ce6bb07bf2784da7806444acd462c3a33 (diff)
downloadenigma2-9248bf86cddef4cf3904748bcd94ddabef68f8c7.tar.gz
enigma2-9248bf86cddef4cf3904748bcd94ddabef68f8c7.zip
more __deref__ changes
Diffstat (limited to 'lib/python/Plugins')
-rw-r--r--lib/python/Plugins/Extensions/PicturePlayer/plugin.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/python/Plugins/Extensions/PicturePlayer/plugin.py b/lib/python/Plugins/Extensions/PicturePlayer/plugin.py
index 34e8c10f..23c250ef 100644
--- a/lib/python/Plugins/Extensions/PicturePlayer/plugin.py
+++ b/lib/python/Plugins/Extensions/PicturePlayer/plugin.py
@@ -158,7 +158,7 @@ class ThumbView(Screen):
ptr = loadPic(self.path + self.thumblist[self.thumbindex], 180, 160, self.aspect, int(config.pic.resize.value), int(config.pic.rotate.value),1, cachefile)
if ptr != None:
self["thumb"+str(self.thumbindex)].show()
- self["thumb"+str(self.thumbindex)].instance.setPixmap(ptr.__deref__())
+ self["thumb"+str(self.thumbindex)].instance.setPixmap(ptr)
self.thumbindex += 1
if self.thumbindex < 6:
@@ -297,7 +297,7 @@ class PicView(Screen):
if self.currPic != None:
self.old = self.index
self["file"].setText(self.list[self.old][0] + " (" + str(self.old+1) + "/" + str(self.maxentry+1) + ")")
- self["picture"].instance.setPixmap(self.currPic.__deref__())
+ self["picture"].instance.setPixmap(self.currPic)
self.next()
self["point"].show()
@@ -489,7 +489,7 @@ class picmain(Screen):
ptr = loadPic(self.filelist.getCurrentDirectory() + self.filelist.getFilename(), 180, 160, self.aspect, int(config.pic.resize.value), 0, 0, cachefile)
if ptr != None:
self["thumbnail"].show()
- self["thumbnail"].instance.setPixmap(ptr.__deref__())
+ self["thumbnail"].instance.setPixmap(ptr)
else:
self["thumbnail"].hide()