git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix timerlist and movielist multicontent region sizes
[enigma2.git]
/
lib
/
python
/
Components
/
TimerList.py
diff --git
a/lib/python/Components/TimerList.py
b/lib/python/Components/TimerList.py
index 8f8dc50cb3d247dbc3480d1933ccb3a505edba94..da2ff9491b16c083f30b304fa525f25d5adb5b07 100644
(file)
--- a/
lib/python/Components/TimerList.py
+++ b/
lib/python/Components/TimerList.py
@@
-26,7
+26,7
@@
RT_WRAP = 32
def TimerEntryComponent(timer, processed):
res = [ timer ]
def TimerEntryComponent(timer, processed):
res = [ timer ]
- res.append((0, 0,
40
0, 30, 0, RT_HALIGN_LEFT, timer.service_ref.getServiceName()))
+ res.append((0, 0,
22
0, 30, 0, RT_HALIGN_LEFT, timer.service_ref.getServiceName()))
repeatedtext = ""
days = [ "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun" ]
if (timer.repeated != 0):
repeatedtext = ""
days = [ "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun" ]
if (timer.repeated != 0):
@@
-39,11
+39,11
@@
def TimerEntryComponent(timer, processed):
repeatedtext += days[x]
count += 1
flags = flags >> 1
repeatedtext += days[x]
count += 1
flags = flags >> 1
- res.append((0, 30,
2
00, 20, 1, RT_HALIGN_LEFT, repeatedtext + (" %s ... %s" % (FuzzyTime(timer.begin)[1], FuzzyTime(timer.end)[1]))))
+ res.append((0, 30,
3
00, 20, 1, RT_HALIGN_LEFT, repeatedtext + (" %s ... %s" % (FuzzyTime(timer.begin)[1], FuzzyTime(timer.end)[1]))))
else:
else:
- res.append((0, 30,
2
00, 20, 1, RT_HALIGN_LEFT, repeatedtext + ("%s, %s ... %s" % (FuzzyTime(timer.begin) + FuzzyTime(timer.end)[1:]))))
+ res.append((0, 30,
3
00, 20, 1, RT_HALIGN_LEFT, repeatedtext + ("%s, %s ... %s" % (FuzzyTime(timer.begin) + FuzzyTime(timer.end)[1:]))))
- res.append((
300, 0, 20
0, 20, 1, RT_HALIGN_RIGHT, timer.name))
+ res.append((
240, 0, 32
0, 20, 1, RT_HALIGN_RIGHT, timer.name))
if not processed:
if timer.state == TimerEntry.StateWait:
if not processed:
if timer.state == TimerEntry.StateWait:
@@
-57,7
+57,7
@@
def TimerEntryComponent(timer, processed):
else:
state = "done!"
else:
state = "done!"
- res.append((3
00, 30, 20
0, 20, 1, RT_HALIGN_RIGHT, state))
+ res.append((3
20, 30, 24
0, 20, 1, RT_HALIGN_RIGHT, state))
return res
return res