aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins/SystemPlugins/SoftwareUpdate/plugin.py
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2008-02-11 23:42:08 +0000
committerFelix Domke <tmbinc@elitedvb.net>2008-02-11 23:42:08 +0000
commite66f4bdb5fd20a77e5db713d732275aa32b22af5 (patch)
tree1db2063d2991f1005d72efdd3a690a0a6705119e /lib/python/Plugins/SystemPlugins/SoftwareUpdate/plugin.py
parent5ce65d82dcb11e8c5886be467fefecc5e70d4868 (diff)
downloadenigma2-e66f4bdb5fd20a77e5db713d732275aa32b22af5.tar.gz
enigma2-e66f4bdb5fd20a77e5db713d732275aa32b22af5.zip
text edit patch #5 by Anders Holst
Diffstat (limited to 'lib/python/Plugins/SystemPlugins/SoftwareUpdate/plugin.py')
-rw-r--r--lib/python/Plugins/SystemPlugins/SoftwareUpdate/plugin.py18
1 files changed, 17 insertions, 1 deletions
diff --git a/lib/python/Plugins/SystemPlugins/SoftwareUpdate/plugin.py b/lib/python/Plugins/SystemPlugins/SoftwareUpdate/plugin.py
index c283dd04..c0fbe740 100644
--- a/lib/python/Plugins/SystemPlugins/SoftwareUpdate/plugin.py
+++ b/lib/python/Plugins/SystemPlugins/SoftwareUpdate/plugin.py
@@ -90,12 +90,16 @@ class IPKGSource(Screen):
self["text"] = Input(sources[0], maxSize=False, type=Input.TEXT)
- self["actions"] = NumberActionMap(["WizardActions", "InputActions"],
+ self["actions"] = NumberActionMap(["WizardActions", "InputActions", "TextEntryActions", "KeyboardInputActions"],
{
"ok": self.go,
"back": self.close,
"left": self.keyLeft,
"right": self.keyRight,
+ "home": self.keyHome,
+ "end": self.keyEnd,
+ "deleteForward": self.deleteForward,
+ "deleteBackward": self.deleteBackward,
"1": self.keyNumberGlobal,
"2": self.keyNumberGlobal,
"3": self.keyNumberGlobal,
@@ -120,6 +124,18 @@ class IPKGSource(Screen):
def keyRight(self):
self["text"].right()
+ def keyHome(self):
+ self["text"].home()
+
+ def keyEnd(self):
+ self["text"].end()
+
+ def keyDeleteForward(self):
+ self["text"].delete()
+
+ def keyDeleteBackward(self):
+ self["text"].deleteBackward()
+
def keyNumberGlobal(self, number):
print "pressed", number
self["text"].number(number)