On all screens: Move from green to key_green etc.
authorStephen R. van den Berg <srb@cuci.nl>
Sat, 23 Feb 2013 23:02:24 +0000 (00:02 +0100)
committerLittlesat <littlesat99@yahoo.com>
Mon, 25 Feb 2013 08:32:35 +0000 (09:32 +0100)
Signed-off-by: Littlesat <littlesat99@yahoo.com>

lib/python/Screens/PluginBrowser.py
lib/python/Screens/ServiceInfo.py
lib/python/Screens/SleepTimerEdit.py

index 60f683d..5633452 100644 (file)
@@ -49,8 +49,8 @@ class PluginBrowser(Screen):
 
                self.firsttime = True
 
-               self["red"] = Label(_("Remove plugins"))
-               self["green"] = Label(_("Download plugins"))
+               self["key_red"] = self["red"] = Label(_("Remove plugins"))
+               self["key_green"] = self["green"] = Label(_("Download plugins"))
                
                self.list = []
                self["list"] = PluginList(self.list)
index 73b6483..a32f972 100644 (file)
@@ -85,10 +85,10 @@ class ServiceInfo(Screen):
                        self.feinfo = None
                else:
                        self.type = TYPE_SERVICE_INFO
-                       self["red"] = Label(_("Service"))
-                       self["green"] = Label(_("PIDs"))
-                       self["yellow"] = Label(_("Multiplex"))
-                       self["blue"] = Label(_("Tuner status"))
+                       self["key_red"] = self["red"] = Label(_("Service"))
+                       self["key_green"] = self["green"] = Label(_("PIDs"))
+                       self["key_yellow"] = self["yellow"] = Label(_("Multiplex"))
+                       self["key_blue"] = self["blue"] = Label(_("Tuner status"))
                        service = session.nav.getCurrentService()
                        if service is not None:
                                self.info = service.info()
index 1da8da3..dfbbb7b 100644 (file)
@@ -21,10 +21,10 @@ class SleepTimerEdit(Screen):
                self["green"] = Pixmap()
                self["yellow"] = Pixmap()
                self["blue"] = Pixmap()
-               self["red_text"] = Label()
-               self["green_text"] = Label()
-               self["yellow_text"] = Label()
-               self["blue_text"] = Label()
+               self["key_red"] = self["red_text"] = Label()
+               self["key_green"] = self["green_text"] = Label()
+               self["key_yellow"] = self["yellow_text"] = Label()
+               self["key_blue"] = self["blue_text"] = Label()
                self["current_status"] = Label()
                self.is_active = self.session.nav.SleepTimer.isActive()
                if self.is_active: