def getKeyDescription(key):
	if rc_model.rcIsDefault():
		idx = config.misc.rcused.value
	else:
		idx = 2
	if key in keyDescriptions[idx]:
		return keyDescriptions[idx].get(key, [ ])
Exemple #2
0
def morphRcImagePath(value):
    if rc_model.rcIsDefault() is False:
        if value == '/usr/share/enigma2/skin_default/rc.png' or value == '/usr/share/enigma2/skin_default/rcold.png':
            value = rc_model.getRcLocation() + 'rc.png'
        elif value == '/usr/share/enigma2/skin_default/rc0.png' or value == '/usr/share/enigma2/skin_default/rc1.png' or value == '/usr/share/enigma2/skin_default/rc2.png':
            value = rc_model.getRcLocation() + 'rc.png'
    return value
Exemple #3
0
    def __init__(self):
        self["rc"] = MultiPixmap()
        self['red'] = MovingPixmap()
        self['tunera'] = MovingPixmap()
        self['tunerb'] = MovingPixmap()
        self['tunerc'] = MovingPixmap()
        self['tunerd'] = MovingPixmap()
        self["arrowdown"] = MovingPixmap()
        self["arrowdown2"] = MovingPixmap()
        self["arrowup"] = MovingPixmap()
        self["arrowup2"] = MovingPixmap()

        config.misc.rcused = ConfigInteger(default=1)
        self.isDefaultRc = rc_model.rcIsDefault()
        self.rcheight = 500
        self.rcheighthalf = 250

        self.selectpics = []
        self.selectpics.append((self.rcheighthalf, ["arrowdown",
                                                    "arrowdown2"], (-18, -70)))
        self.selectpics.append((self.rcheight, ["arrowup",
                                                "arrowup2"], (-18, 0)))
        self['red'].hide()
        #if self.has_key('languagetext'):
        #    self['languagetext'].hide()
        self.readPositions()
        self.clearSelectedKeys()
        self.onShown.append(self.initRc)
Exemple #4
0
	def __init__(self):
		self["rc"] = MultiPixmap()
		self["arrowdown"] = MovingPixmap()
		self["arrowdown2"] = MovingPixmap()
		self["arrowup"] = MovingPixmap()
		self["arrowup2"] = MovingPixmap()
		
		config.misc.rcused = ConfigInteger(default = 1)
		self.isDefaultRc = rc_model.rcIsDefault()
		self.rcheight = 500
		self.rcheighthalf = 250
		
		self.selectpics = []
#		self.selectpics.append((self.rcheighthalf, ["arrowdown", "arrowdown2"], (-18,-70)))
#		self.selectpics.append((self.rcheight, ["arrowup", "arrowup2"], (-18,0)))
# [iq
		from Tools.HardwareInfo import HardwareInfo
		if HardwareInfo().get_device_name() in ('twin', 'tm2toe' , '2t', 'tmtwinoe' , 'tmsingle', 'tmsinglemini', 'tmnanooe', 'tmnano2t', 'tm2tsuper', 'tmnanosuper' ):
			self.selectpics.append((self.rcheighthalf, ["arrowdown", "arrowdown2"], (-23,-98)))
			self.selectpics.append((self.rcheight, ["arrowup", "arrowup2"], (-23,0)))
		if HardwareInfo().get_device_name() in ('ios100hd', 'ios200hd' , 'ios300hd' , 'mediabox', 'optimussos1', 'optimussos2', 'force1'):
			self.selectpics.append((self.rcheighthalf, ["arrowdown", "arrowdown2"], (-23,-125)))
			self.selectpics.append((self.rcheight, ["arrowup", "arrowup2"], (-22,-45)))
		else:
			self.selectpics.append((self.rcheighthalf, ["arrowdown", "arrowdown2"], (-18,-70)))
			self.selectpics.append((self.rcheight, ["arrowup", "arrowup2"], (-18,-0)))
# iq]
		
		self.readPositions()
		self.clearSelectedKeys()
		self.onShown.append(self.initRc)
Exemple #5
0
def morphRcImagePath(value):
    if rc_model.rcIsDefault() is False:
        if value == '/usr/share/enigma2/skin_default/rc.png' or value == '/usr/share/enigma2/skin_default/rcold.png':
            value = rc_model.getRcLocation() + 'rc.png'
        elif value == '/usr/share/enigma2/skin_default/rc0.png' or value == '/usr/share/enigma2/skin_default/rc1.png' or value == '/usr/share/enigma2/skin_default/rc2.png':
            value = rc_model.getRcLocation() + 'rc.png'
    return value
Exemple #6
0
def morphRcImagePath(value):
	if rc_model.rcIsDefault() is False:
		if value in ("/usr/share/enigma2/skin_default/rc.png", "/usr/share/enigma2/skin_default/rcold.png"):  # OpenPLi version.
			value = rc_model.getRcImg()
		# if ("rc.png" or "oldrc.png") in value:  # OpenViX version.
		# 	value = "%src.png" % rc_model.getRcLocation()
	return value
def getKeyDescription(key):
    if rc_model.rcIsDefault():
        idx = config.misc.rcused.value
    else:
        idx = 2
    if key in keyDescriptions[idx]:
        return keyDescriptions[idx].get(key, [])
def getKeyDescription(key):
    if rc_model.rcIsDefault():
        idx = config.misc.rcused.value
    else:
        rctype = config.plugins.remotecontroltype.rctype.value
        print "[Keybindings.py] RC type is:", rctype
        rctype = 11
        if rctype == 10:  # Spark
            idx = 3
        elif rctype == 7:  # Fortis FS9000/FS9200/HS8200
            idx = 4
        elif rctype == 8:  # Fortis HS9510/HS7420/HS7429/HS7810A/HS7819
            idx = 4
        elif rctype == 9:  # Fortis HS7110/HS7119
            idx = 4
        elif rctype == 11:  # Topfield TF77X0HDPVR
            idx = 5
        elif rctype == 12:  # Kathrein UFS912
            idx = 6
        elif rctype == 13:  # CubeRevo Universal
            idx = 7


#		elif rctype == 14:	# ...
#			idx = 8
        else:
            idx = 2
    if key in keyDescriptions[idx]:
        return keyDescriptions[idx].get(key, [])
Exemple #9
0
	def __init__(self):
		self["rc"] = MultiPixmap()
		self['red'] = MovingPixmap()
		self['tunera'] = MovingPixmap()
		self['tunerb'] = MovingPixmap()
		self['tunerc'] = MovingPixmap()
		self['tunerd'] = MovingPixmap()
		self["arrowdown"] = MovingPixmap()
		self["arrowdown2"] = MovingPixmap()
		self["arrowup"] = MovingPixmap()
		self["arrowup2"] = MovingPixmap()

		config.misc.rcused = ConfigInteger(default = 1)
		self.isDefaultRc = rc_model.rcIsDefault()
		self.rcheight = 500
		self.rcheighthalf = 250

		self.selectpics = []
		self.selectpics.append((self.rcheighthalf, ["arrowdown", "arrowdown2"], (-18,-70)))
		self.selectpics.append((self.rcheight, ["arrowup", "arrowup2"], (-18,0)))
		self['red'].hide()
		#if self.has_key('languagetext'):
		#    self['languagetext'].hide()
		self.readPositions()
		self.clearSelectedKeys()
		self.onShown.append(self.initRc)
Exemple #10
0
def morphRcImagePath(value):
    if rc_model.rcIsDefault() is False:
        if ('rc.png' or 'oldrc.png') in value:
            value = rc_model.getRcLocation() + 'rc.png'
        elif 'defaultbox.png' in value:
            boxpic = '/usr/share/enigma2/mega32/boxpictures/' + getBoxType() + '.png'
            if fileExists(boxpic):
                value = boxpic
    return value
Exemple #11
0
def loadPixmap(path, desktop):
	option = path.find("#")
	if option != -1:
		path = path[:option]
	if rc_model.rcIsDefault() is False and basename(path) in ("rc.png", "rc0.png", "rc1.png", "rc2.png", "oldrc.png"):
		path = rc_model.getRcImg()
	pixmap = LoadPixmap(path, desktop)
	if pixmap is None:
		raise SkinError("Pixmap file '%s' not found" % path)
	return pixmap
Exemple #12
0
def morphRcImagePath(value):
    if rc_model.rcIsDefault() is False:
        if value == "/usr/share/enigma2/skin_default/rc.png" or value == "/usr/share/enigma2/skin_default/rcold.png":
            value = rc_model.getRcLocation() + "rc.png"
        elif (
            value == "/usr/share/enigma2/skin_default/rc0.png"
            or value == "/usr/share/enigma2/skin_default/rc1.png"
            or value == "/usr/share/enigma2/skin_default/rc2.png"
        ):
            value = rc_model.getRcLocation() + "rc.png"
    return value
Exemple #13
0
def getKeyDescription(key):
	if rc_model.rcIsDefault():
		idx = config.misc.rcused.value
	else:
		rctype = config.plugins.remotecontroltype.rctype.value
		if rctype == 14:  # XP1000
			idx = 3
		elif rctype == 18:  # F1
			idx = 4
		else:
			idx = 2
	return keyDescriptions[idx].get(key)
def getKeyDescription(key):
	if rc_model.rcIsDefault():
		idx = config.misc.rcused.value
	else:
		rctype = config.plugins.remotecontroltype.rctype.value
		if rctype == 14:  # XP1000
			idx = 3
		elif rctype == 18:  # F1
			idx = 4
		else:
			idx = 2
	return keyDescriptions[idx].get(key)
    def __init__(self):
        config.misc.rcused = ConfigInteger(default=1)
        self.isDefaultRc = rc_model.rcIsDefault()
        self.rcheight = 500
        self.rcheighthalf = 250

        self.selectpics = []
        self.selectpics.append((self.rcheighthalf, ["arrowdown",
                                                    "arrowdown2"], (-18, -70)))
        self.selectpics.append((self.rcheight, ["arrowup",
                                                "arrowup2"], (-18, 0)))

        self.readPositions()
        self.clearSelectedKeys()
        self.onShown.append(self.initRc)
Exemple #16
0
 def __init__(self):
     self['rc'] = MultiPixmap()
     self['arrowdown'] = MovingPixmap()
     self['arrowdown2'] = MovingPixmap()
     self['arrowup'] = MovingPixmap()
     self['arrowup2'] = MovingPixmap()
     config.misc.rcused = ConfigInteger(default=1)
     self.isDefaultRc = rc_model.rcIsDefault()
     self.rcheight = 500
     self.rcheighthalf = 250
     self.selectpics = []
     self.selectpics.append((self.rcheighthalf, ['arrowdown', 'arrowdown2'], (-18, -70)))
     self.selectpics.append((self.rcheight, ['arrowup', 'arrowup2'], (-18, 0)))
     self.readPositions()
     self.clearSelectedKeys()
     self.onShown.append(self.initRc)
Exemple #17
0
 def __init__(self):
     self['rc'] = MultiPixmap()
     self['arrowdown'] = MovingPixmap()
     self['arrowdown2'] = MovingPixmap()
     self['arrowup'] = MovingPixmap()
     self['arrowup2'] = MovingPixmap()
     config.misc.rcused = ConfigInteger(default=1)
     self.isDefaultRc = rc_model.rcIsDefault()
     self.rcheight = 500
     self.rcheighthalf = 250
     self.selectpics = []
     self.selectpics.append((self.rcheighthalf, ['arrowdown', 'arrowdown2'], (-18, -70)))
     self.selectpics.append((self.rcheight, ['arrowup', 'arrowup2'], (-18, 0)))
     self.readPositions()
     self.clearSelectedKeys()
     self.onShown.append(self.initRc)
Exemple #18
0
	def __init__(self):
		self["rc"] = MultiPixmap()

		config.misc.rcused = ConfigInteger(default=1)
		self.isDefaultRc = rc_model.rcIsDefault()
		rcheights = (500,) * 4
		self.selectpics = (
			self.KeyIndicator(self, rcheights, ("indicator_l0", "indicator_u0")),
			self.KeyIndicator(self, rcheights, ("indicator_l1", "indicator_u1")),
			self.KeyIndicator(self, rcheights, ("indicator_l2", "indicator_u2")),
			self.KeyIndicator(self, rcheights, ("indicator_l3", "indicator_u3")),
		)
		self.rcPositions = RcPositions()
		self.oldNSelectedKeys = self.nSelectedKeys = 0
		self.clearSelectedKeys()
		self.onLayoutFinish.append(self.initRc)
Exemple #19
0
    def __init__(self):
        self["rc"] = MultiPixmap()

        config.misc.rcused = ConfigInteger(default=1)
        self.isDefaultRc = rc_model.rcIsDefault()
        nSelectPics = 16
        rcheights = (500, ) * 2
        self.selectpics = []
        for i in range(nSelectPics):
            self.selectpics.append(
                self.KeyIndicator(
                    self, rcheights,
                    ("indicator_l" + str(i), "indicator_u" + str(i))))
        self.rcPositions = RcPositions()
        self.oldNSelectedKeys = self.nSelectedKeys = 0
        self.clearSelectedKeys()
        self.onLayoutFinish.append(self.initRc)
Exemple #20
0
	def __init__(self):
		self["rc"] = MultiPixmap()
		self["arrowdown"] = MovingPixmap()
		self["arrowdown2"] = MovingPixmap()
		self["arrowup"] = MovingPixmap()
		self["arrowup2"] = MovingPixmap()

		self.isDefaultRc = rc_model.rcIsDefault()
		self.rcheight = 500
		self.rcheighthalf = 250

		self.selectpics = []
		self.selectpics.append((self.rcheighthalf, ["arrowdown", "arrowdown2"], (-18,-70)))
		self.selectpics.append((self.rcheight, ["arrowup", "arrowup2"], (-18,0)))

		self.readPositions()
		self.clearSelectedKeys()
		self.onShown.append(self.initRc)
Exemple #21
0
	def __init__(self):
		self["rc"] = MultiPixmap()
		self["arrowdown"] = MovingPixmap()
		self["arrowdown2"] = MovingPixmap()
		self["arrowup"] = MovingPixmap()
		self["arrowup2"] = MovingPixmap()

		config.misc.rcused = ConfigInteger(default = 1)
		self.isDefaultRc = rc_model.rcIsDefault()
		self.rcheight = 500
		self.rcheighthalf = 250

		self.selectpics = []
#		self.selectpics.append((self.rcheighthalf, ["arrowdown", "arrowdown2"], (-18,-70)))
#		self.selectpics.append((self.rcheight, ["arrowup", "arrowup2"], (-18,0)))
# [ IQON : by LeeWS : replace below list from upper 2 lines.
		from Tools.HardwareInfo import HardwareInfo
		if HardwareInfo().get_device_name() in ('twin', 'tm2toe' , '2t', 'tmtwinoe' , 'tmsingle', 'tmsinglemini', 'tmnanooe', 'tmnano2t', 'tm2tsuper', 'tmnanosuper', 'tmnano2super' ):
			self.selectpics.append((self.rcheighthalf, ["arrowdown", "arrowdown2"], (-23,-98)))
			self.selectpics.append((self.rcheight, ["arrowup", "arrowup2"], (-23,0)))
		if HardwareInfo().get_device_name() in ('ios100hd', 'ios200hd' , 'ios300hd' , 'mediabox', 'optimussos1', 'optimussos2', 'force1', 'optimussos1plus', 'optimussos2plus', 'force1plus', 'force2', 'force2solid', 'tmnanose', 'optimussosplus', 'force2plus', 'tmnanosecombo', 'tmnanosem2', 'force2eco', 'fusionhd'):
			if HardwareInfo().get_device_name() == "force1plus":
				# f = open("/etc/.brandtype", 'r')
				# line = f.readline()
				# if "technomate" in line:
				#	self.selectpics.append((self.rcheighthalf, ["arrowdown", "arrowdown2"], (-23,-98)))
				#	self.selectpics.append((self.rcheight, ["arrowup", "arrowup2"], (-23,0)))
				# else:
				#	self.selectpics.append((self.rcheighthalf, ["arrowdown", "arrowdown2"], (-23,-125)))
				#	self.selectpics.append((self.rcheight, ["arrowup", "arrowup2"], (-22,-45)))
				# f.close()
				self.selectpics.append((self.rcheighthalf, ["arrowdown", "arrowdown2"], (-23,-125)))
				self.selectpics.append((self.rcheight, ["arrowup", "arrowup2"], (-22,-45)))
			else:
				self.selectpics.append((self.rcheighthalf, ["arrowdown", "arrowdown2"], (-23,-125)))
				self.selectpics.append((self.rcheight, ["arrowup", "arrowup2"], (-22,-45)))
		else:
			self.selectpics.append((self.rcheighthalf, ["arrowdown", "arrowdown2"], (-18,-70)))
			self.selectpics.append((self.rcheight, ["arrowup", "arrowup2"], (-18,-0)))
# IQON ] : by LeeWS

		self.readPositions()
		self.clearSelectedKeys()
		self.onShown.append(self.initRc)
Exemple #22
0
	def __init__(self):
		self["rc"] = MultiPixmap()

		config.misc.rcused = ConfigInteger(default=1)
		self.isDefaultRc = rc_model.rcIsDefault()
		nSelectPics = 16
		rcheights = (500,) * 2
		self.selectpics = []
		for i in range(nSelectPics):
			self.selectpics.append(
				self.KeyIndicator(
					self, rcheights,
					("indicator_l" + str(i), "indicator_u" + str(i))
				)
			)
		self.rcPositions = RcPositions()
		self.oldNSelectedKeys = self.nSelectedKeys = 0
		self.clearSelectedKeys()
		self.onLayoutFinish.append(self.initRc)
Exemple #23
0
    def __init__(self):
        self["rc"] = MultiPixmap()
        self["arrowdown"] = MovingPixmap()
        self["arrowdown2"] = MovingPixmap()
        self["arrowup"] = MovingPixmap()
        self["arrowup2"] = MovingPixmap()

        config.misc.rcused = ConfigInteger(default=1)
        self.isDefaultRc = rc_model.rcIsDefault()
        self.rcheight = 500
        self.rcheighthalf = 250

        self.selectpics = []
        #		self.selectpics.append((self.rcheighthalf, ["arrowdown", "arrowdown2"], (-18,-70)))
        #		self.selectpics.append((self.rcheight, ["arrowup", "arrowup2"], (-18,0)))
        # [iq
        from Tools.HardwareInfo import HardwareInfo
        if HardwareInfo().get_device_name() in ('twin', 'tm2toe', '2t',
                                                'tmtwinoe', 'tmsingle',
                                                'tmsinglemini', 'tmnanooe'):
            self.selectpics.append(
                (self.rcheighthalf, ["arrowdown", "arrowdown2"], (-23, -98)))
            self.selectpics.append((self.rcheight, ["arrowup",
                                                    "arrowup2"], (-23, 0)))
        if HardwareInfo().get_device_name() in ('ios100hd', 'ios200hd',
                                                'ios300hd', 'mediabox',
                                                'optimussos1', 'optimussos2'):
            self.selectpics.append(
                (self.rcheighthalf, ["arrowdown", "arrowdown2"], (-23, -125)))
            self.selectpics.append((self.rcheight, ["arrowup",
                                                    "arrowup2"], (-22, -45)))
        else:
            self.selectpics.append(
                (self.rcheighthalf, ["arrowdown", "arrowdown2"], (-18, -70)))
            self.selectpics.append((self.rcheight, ["arrowup",
                                                    "arrowup2"], (-18, -0)))
# iq]

        self.readPositions()
        self.clearSelectedKeys()
        self.onShown.append(self.initRc)
Exemple #24
0
 def __init__(self):
     isDefaultRc = rc_model.rcIsDefault()
     if isDefaultRc:
         target = resolveFilename(SCOPE_SKIN, "rcpositions.xml")
     else:
         target = rc_model.getRcLocation() + 'rcpositions.xml'
     tree = ElementTree(file=target)
     rcs = tree.getroot()
     self.rcs = {}
     for rc in rcs:
         id = int(rc.attrib["id"])
         self.rcs[id] = {"names": [], "keypos": {}}
         for key in rc:
             name = key.attrib["name"]
             pos = key.attrib["pos"].split(",")
             self.rcs[id]["keypos"][name] = (int(pos[0]), int(pos[1]))
             self.rcs[id]["names"].append(name)
     if isDefaultRc:
         self.rc = self.rcs[config.misc.rcused.getValue()]
     else:
         try:
             self.rc = self.rcs[2]
         except:
             self.rc = self.rcs[config.misc.rcused.getValue()]
Exemple #25
0
	def __init__(self):
		isDefaultRc = rc_model.rcIsDefault()
		if isDefaultRc:
			target = resolveFilename(SCOPE_SKIN, "rcpositions.xml")
		else:
			target = rc_model.getRcLocation() + 'rcpositions.xml'
		tree = ElementTree(file=target)
		rcs = tree.getroot()
		self.rcs = {}
		for rc in rcs:
			id = int(rc.attrib["id"])
			self.rcs[id] = {"names": [], "keypos": {}}
			for key in rc:
				name = key.attrib["name"]
				pos = key.attrib["pos"].split(",")
				self.rcs[id]["keypos"][name] = (int(pos[0]), int(pos[1]))
				self.rcs[id]["names"].append(name)
		if isDefaultRc:
			self.rc = self.rcs[config.misc.rcused.getValue()]
		else:
			try:
				self.rc = self.rcs[2]
			except:
				self.rc = self.rcs[config.misc.rcused.getValue()]
Exemple #26
0
def morphRcImagePath(value):
	if rc_model.rcIsDefault() is False:
		if ('rc.png' or 'oldrc.png') in value:
			value = rc_model.getRcLocation() + 'rc.png'
	return value
Exemple #27
0
def morphRcImagePath(value):
    if rc_model.rcIsDefault() is False:
        if value == '/usr/share/enigma2/skin_default/rc.png' or value == '/usr/share/enigma2/skin_default/rcold.png':
            value = rc_model.getRcImg()
    return value
Exemple #28
0
    def __init__(self):
        self["rc"] = MultiPixmap()
        self["arrowdown"] = MovingPixmap()
        self["arrowdown2"] = MovingPixmap()
        self["arrowup"] = MovingPixmap()
        self["arrowup2"] = MovingPixmap()

        config.misc.rcused = ConfigInteger(default=1)
        self.isDefaultRc = rc_model.rcIsDefault()
        self.rcheight = 500
        self.rcheighthalf = 250

        self.selectpics = []
        #		self.selectpics.append((self.rcheighthalf, ["arrowdown", "arrowdown2"], (-18,-70)))
        #		self.selectpics.append((self.rcheight, ["arrowup", "arrowup2"], (-18,0)))
        # [ IQON : by LeeWS : replace below list from upper 2 lines.
        from Tools.HardwareInfo import HardwareInfo
        if HardwareInfo().get_device_name() in ('twin', 'tm2toe', '2t',
                                                'tmtwinoe', 'tmsingle',
                                                'tmsinglemini', 'tmnanooe',
                                                'tmnano2t', 'tm2tsuper',
                                                'tmnanosuper', 'tmnano2super'):
            self.selectpics.append(
                (self.rcheighthalf, ["arrowdown", "arrowdown2"], (-23, -98)))
            self.selectpics.append((self.rcheight, ["arrowup",
                                                    "arrowup2"], (-23, 0)))
        if HardwareInfo().get_device_name() in (
                'ios100hd', 'ios200hd', 'ios300hd', 'mediabox', 'optimussos1',
                'optimussos2', 'force1', 'optimussos1plus', 'optimussos2plus',
                'force1plus', 'force2', 'force2solid', 'tmnanose',
                'optimussosplus', 'force2plus', 'tmnanosecombo', 'tmnanosem2',
                'force2eco', 'fusionhd'):
            if HardwareInfo().get_device_name() == "force1plus":
                # f = open("/etc/.brandtype", 'r')
                # line = f.readline()
                # if "technomate" in line:
                #	self.selectpics.append((self.rcheighthalf, ["arrowdown", "arrowdown2"], (-23,-98)))
                #	self.selectpics.append((self.rcheight, ["arrowup", "arrowup2"], (-23,0)))
                # else:
                #	self.selectpics.append((self.rcheighthalf, ["arrowdown", "arrowdown2"], (-23,-125)))
                #	self.selectpics.append((self.rcheight, ["arrowup", "arrowup2"], (-22,-45)))
                # f.close()
                self.selectpics.append(
                    (self.rcheighthalf, ["arrowdown",
                                         "arrowdown2"], (-23, -125)))
                self.selectpics.append(
                    (self.rcheight, ["arrowup", "arrowup2"], (-22, -45)))
            else:
                self.selectpics.append(
                    (self.rcheighthalf, ["arrowdown",
                                         "arrowdown2"], (-23, -125)))
                self.selectpics.append(
                    (self.rcheight, ["arrowup", "arrowup2"], (-22, -45)))
        else:
            self.selectpics.append(
                (self.rcheighthalf, ["arrowdown", "arrowdown2"], (-18, -70)))
            self.selectpics.append((self.rcheight, ["arrowup",
                                                    "arrowup2"], (-18, -0)))
# IQON ] : by LeeWS

        self.readPositions()
        self.clearSelectedKeys()
        self.onShown.append(self.initRc)
Exemple #29
0
def morphRcImagePath(value):
	if rc_model.rcIsDefault() is False:
		if value.find('rc.png') != -1 or value.find('oldrc.png') != -1:
			value = rc_model.getRcLocation() + 'rc.png'
	return value
Exemple #30
0
def morphRcImagePath(value):
	if rc_model.rcIsDefault() is False:
		if 'rc.png' in value or 'rcold.png' in value:
			value = rc_model.getRcImg()
	return value
Exemple #31
0
def morphRcImagePath(value):
	if rc_model.rcIsDefault() is False:
		if ('rc.png' or 'oldrc.png') in value:
			value = rc_model.getRcLocation() + 'rc.png'
	return value
Exemple #32
0
def morphRcImagePath(value):
	if rc_model.rcIsDefault() is False:
		if 'rc.png' in value or 'rcold.png' in value:
			value = rc_model.getRcImg()
	return value
Exemple #33
0
def morphRcImagePath(value):
    if rc_model.rcIsDefault() is False:
        if ("rc.png" or "oldrc.png") in value:
            value = rc_model.getRcLocation() + "rc.png"
    return value
Exemple #34
0
def morphRcImagePath(value):
	if rc_model.rcIsDefault() is False:
		if value == '/usr/share/enigma2/skin_default/rc.png' or value == '/usr/share/enigma2/skin_default/rcold.png':
			value = rc_model.getRcImg()
	return value
Exemple #35
0
def morphRcImagePath(value):
	if rc_model.rcIsDefault() is False:
		if value.find('rc.png') != -1 or value.find('oldrc.png') != -1:
			value = rc_model.getRcLocation() + 'rc.png'
	return value