display correct action on the yellow button
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Wed, 25 Jan 2006 00:20:17 +0000 (00:20 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Wed, 25 Jan 2006 00:20:17 +0000 (00:20 +0000)
lib/python/Screens/TimerEdit.py

index 263af69f49131980c6faf5bed5df6d06d8eddccd..e12e29ae00b835835f6e79eaafcf131d815bea2c 100644 (file)
@@ -66,9 +66,9 @@ class TimerEditList(Screen):
                
        def updateState(self):
                if self["timerlist"].getCurrent()[0].disabled:
-                       self["key_yellow"].setText(_("disable"))
-               else:
                        self["key_yellow"].setText(_("enable"))
+               else:
+                       self["key_yellow"].setText(_("disable"))
                self["key_yellow"].instance.invalidate()
 
        def fillTimerList(self):