add description to timerlist
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Tue, 8 Nov 2005 22:47:02 +0000 (22:47 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Tue, 8 Nov 2005 22:47:02 +0000 (22:47 +0000)
lib/python/Components/TimerList.py

index 18c5cb134a250c5973944130ce7366afc23538df..793bed4c4edff0c15c74dc3d0a89e2d5f5b1322c 100644 (file)
@@ -25,9 +25,11 @@ RT_WRAP = 32
 def TimerEntry(timer, processed):
        res = [ timer ]
        
 def TimerEntry(timer, processed):
        res = [ timer ]
        
+
        res.append((0, 0, 400, 30, 0, RT_HALIGN_LEFT, timer.service_ref.getServiceName()))
        res.append((0, 30, 200, 20, 1, RT_HALIGN_LEFT, "%s, %s" % FuzzyTime(timer.begin)))
        res.append((0, 0, 400, 30, 0, RT_HALIGN_LEFT, timer.service_ref.getServiceName()))
        res.append((0, 30, 200, 20, 1, RT_HALIGN_LEFT, "%s, %s" % FuzzyTime(timer.begin)))
-       
+
+       res.append((200, 0, 200, 20, 1, RT_HALIGN_RIGHT, timer.description))    
        if processed:
                res.append((200, 30, 200, 20, 1, RT_HALIGN_RIGHT, FuzzyTime(timer.end)[1]))
        else:
        if processed:
                res.append((200, 30, 200, 20, 1, RT_HALIGN_RIGHT, FuzzyTime(timer.end)[1]))
        else: