diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2007-12-13 01:25:52 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2007-12-13 01:25:52 +0000 |
| commit | 5db2dc5c63948651b3e4b337d7057cd940ccc644 (patch) | |
| tree | cdb77048bb1954de6ea7e983302371b33e6f812f /lib/python/Components/EpgList.py | |
| parent | 7bcaff119363f42cd4263a5e07982de7671734a7 (diff) | |
| download | enigma2-5db2dc5c63948651b3e4b337d7057cd940ccc644.tar.gz enigma2-5db2dc5c63948651b3e4b337d7057cd940ccc644.zip | |
factor out loadPNG into generic LoadPixmap
Diffstat (limited to 'lib/python/Components/EpgList.py')
| -rw-r--r-- | lib/python/Components/EpgList.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/python/Components/EpgList.py b/lib/python/Components/EpgList.py index 0c4290d6..ba8d0291 100644 --- a/lib/python/Components/EpgList.py +++ b/lib/python/Components/EpgList.py @@ -1,9 +1,11 @@ from HTMLComponent import HTMLComponent from GUIComponent import GUIComponent -from enigma import eEPGCache, eListbox, eListboxPythonMultiContent, gFont, loadPNG, \ +from enigma import eEPGCache, eListbox, eListboxPythonMultiContent, gFont, \ RT_HALIGN_LEFT, RT_HALIGN_RIGHT, RT_HALIGN_CENTER, RT_VALIGN_CENTER +from Tools.LoadPixmap import LoadPixmap + from time import localtime, time from ServiceReference import ServiceReference from Tools.Directories import resolveFilename, SCOPE_SKIN_IMAGE @@ -49,7 +51,7 @@ class EPGList(HTMLComponent, GUIComponent): assert(type == EPG_TYPE_SIMILAR) self.l.setBuildFunc(self.buildSimilarEntry) self.epgcache = eEPGCache.getInstance() - self.clock_pixmap = loadPNG(resolveFilename(SCOPE_SKIN_IMAGE, 'epgclock-fs8.png')) + self.clock_pixmap = LoadPixmap(resolveFilename(SCOPE_SKIN_IMAGE, 'epgclock-fs8.png')) def getEventFromId(self, service, eventid): event = None |
