aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens/Setup.py
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-01-02 16:05:20 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-01-02 16:05:20 +0000
commit1068f9bc04ef901d7031026b1a9b25e32dd0da8a (patch)
tree8986fcfea4a3c1587b9c0db93717a8f7e9e01009 /lib/python/Screens/Setup.py
parent0be83826dd31db1b88058bfc93528610afde2fda (diff)
downloadenigma2-1068f9bc04ef901d7031026b1a9b25e32dd0da8a.tar.gz
enigma2-1068f9bc04ef901d7031026b1a9b25e32dd0da8a.zip
beautify the ok, cancel and initialize buttons
Diffstat (limited to 'lib/python/Screens/Setup.py')
-rw-r--r--lib/python/Screens/Setup.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/python/Screens/Setup.py b/lib/python/Screens/Setup.py
index d9fc0893..d6215afd 100644
--- a/lib/python/Screens/Setup.py
+++ b/lib/python/Screens/Setup.py
@@ -4,6 +4,7 @@ from Components.config import config #global config instance
from Components.config import configSelection
from Components.ConfigList import ConfigList
from Components.Label import Label
+from Components.Pixmap import Pixmap
import xml.dom.minidom
from xml.dom import EMPTY_NAMESPACE
@@ -105,9 +106,11 @@ class Setup(Screen):
self["title"] = Label(_(myTitle));
- self["ok"] = Label("OK")
- self["cancel"] = Label("Cancel")
-
+ self["oktext"] = Label(_("OK"))
+ self["canceltext"] = Label(_("Cancel"))
+ self["ok"] = Pixmap()
+ self["cancel"] = Pixmap()
+
self["actions"] = NumberActionMap(["SetupActions"],
{
"cancel": self.keyCancel,