From 5add4e83e5a154da2c26016c600b9e20b5496529 Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Wed, 7 Nov 2007 01:30:28 +0000 Subject: [PATCH 1/1] show 'disabled' for disabled timers, instead of 'done' --- lib/python/Components/TimerList.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/python/Components/TimerList.py b/lib/python/Components/TimerList.py index 53442f50..d3c20eca 100644 --- a/lib/python/Components/TimerList.py +++ b/lib/python/Components/TimerList.py @@ -56,6 +56,9 @@ class TimerList(HTMLComponent, GUIComponent, object): else: state = _("done!") + if timer.disabled: + state = _("disabled") + res.append((eListboxPythonMultiContent.TYPE_TEXT, width-240, 50, 240, 20, 1, RT_HALIGN_RIGHT|RT_VALIGN_CENTER, state)) if timer.disabled: -- 2.30.2