diff options
| -rw-r--r-- | data/keymap.xml | 1 | ||||
| -rw-r--r-- | data/skin.xml | 9 | ||||
| -rw-r--r-- | lib/python/Screens/EpgSelection.py | 5 |
3 files changed, 13 insertions, 2 deletions
diff --git a/data/keymap.xml b/data/keymap.xml index 61249982..c6160b2d 100644 --- a/data/keymap.xml +++ b/data/keymap.xml @@ -149,6 +149,7 @@ <key id="KEY_DOWN" mapto="pageDown" flags="mr" /> <key id="KEY_LEFT" mapto="prevEvent" flags="mr" /> <key id="KEY_RIGHT" mapto="nextEvent" flags="mr" /> + <key id="KEY_GREEN" mapto="timerAdd" flags="m" /> </map> <map context="OkCancelActions"> diff --git a/data/skin.xml b/data/skin.xml index 33a5fc0e..d19e0fa3 100644 --- a/data/skin.xml +++ b/data/skin.xml @@ -144,7 +144,7 @@ </screen> <screen name="InfoBar" flags="wfNoBorder" position="0,380" size="720,148" title="InfoBar"> <ePixmap position="0,0" size="720,148" pixmap="/usr/share/enigma2/info-bg.png" /> - + <widget name="ServiceName" position="69,25" size="427,26" valign="center" font="Arial;22" backgroundColor="#101258" /> <widget name="CurrentTime" position="575,10" size="90,30" backgroundColor="dark" font="Arial;19" /> <widget name="Event_Now_StartTime" position="210,68" size="60,22" font="Arial;20" backgroundColor="dark" /> @@ -191,7 +191,12 @@ <widget name="key_blue" position="420,0" size="140,40" backgroundColor="blue" font="Arial;21" /> </screen> <screen name="EPGSelection" position="90,100" size="560,415" title="EPG Selection"> - <widget name="list" position="10,5" size="550,400" /> + <widget name="key_red" position="0,0" size="140,30" backgroundColor="red" font="Arial;21" /> + <widget name="key_green" position="140,0" size="140,30" backgroundColor="green" font="Arial;21" /> + <widget name="key_yellow" position="280,0" size="140,30" backgroundColor="yellow" font="Arial;21" /> + <widget name="key_blue" position="420,0" size="140,30" backgroundColor="blue" font="Arial;21" /> + + <widget name="list" position="10,40" size="550,370" /> </screen> <screen name="EventView" position="100,100" size="520,380" title="Eventview"> <widget name="epg_description" position="10,5" size="500,335" font="Arial;22" /> diff --git a/lib/python/Screens/EpgSelection.py b/lib/python/Screens/EpgSelection.py index def51d49..db8be2e1 100644 --- a/lib/python/Screens/EpgSelection.py +++ b/lib/python/Screens/EpgSelection.py @@ -21,6 +21,11 @@ class EPGSelection(Screen): class ChannelActionMap(ActionMap): def action(self, contexts, action): ActionMap.action(self, contexts, action) + + self["key_red"] = Button("") + self["key_green"] = Button(_("Add timer")) + self["key_yellow"] = Button("") + self["key_blue"] = Button("") self["actions"] = ChannelActionMap(["EPGSelectActions", "OkCancelActions"], { |
