from Screen import Screen
from Components.ActionMap import NumberActionMap
from Components.config import config, ConfigNothing
from Screen import Screen
from Components.ActionMap import NumberActionMap
from Components.config import config, ConfigNothing
from Components.ConfigList import ConfigListScreen
from Components.Label import Label
from Components.Pixmap import Pixmap
import xml.dom.minidom
from Components.ConfigList import ConfigListScreen
from Components.Label import Label
from Components.Pixmap import Pixmap
import xml.dom.minidom
item_text = _(x.getAttribute("text").encode("UTF-8") or "??")
b = eval(XMLTools.mergeText(x.childNodes));
if b == "":
item_text = _(x.getAttribute("text").encode("UTF-8") or "??")
b = eval(XMLTools.mergeText(x.childNodes));
if b == "":
if x.getAttribute("key") == id:
return x.getAttribute("title").encode("UTF-8")
raise "unknown setup id '%s'!" % repr(id)
if x.getAttribute("key") == id:
return x.getAttribute("title").encode("UTF-8")
raise "unknown setup id '%s'!" % repr(id)