X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fpython%2FPlugins%2FSystemPlugins%2FHDMICEC%2Fplugin.py;fp=lib%2Fpython%2FPlugins%2FSystemPlugins%2FHDMICEC%2Fplugin.py;h=9603d146f84f861e567f8a3cd49e69a3fcdc44ee;hp=c830fe675e796842c2207f2758643ca450811aa6;hb=207c6a99f6d162bba35a19da17a351c97f6be56d;hpb=e3ff8a18da07b9e4f513cb651a93cb22c5c3db76 diff --git a/lib/python/Plugins/SystemPlugins/HDMICEC/plugin.py b/lib/python/Plugins/SystemPlugins/HDMICEC/plugin.py index c830fe6..9603d14 100755 --- a/lib/python/Plugins/SystemPlugins/HDMICEC/plugin.py +++ b/lib/python/Plugins/SystemPlugins/HDMICEC/plugin.py @@ -27,8 +27,10 @@ from os import system from Components.InputDevice import iInputDevices class HdmiCecPlugin(Screen,ConfigListScreen): - skin = """ - + def __init__(self, session): + if session.desktop.size().width() > 720: + self.skin = """ + @@ -38,11 +40,21 @@ class HdmiCecPlugin(Screen,ConfigListScreen): - """ - def __init__(self, session): + """ + else: + self.skin = """ + + + + + + + + + + + """ Screen.__init__(self, session) - - config.hdmicec.input_address = ConfigText(default = "0", visible_width = 50, fixed_size = False) config.hdmicec.input_value1 = ConfigText(default = "0", visible_width = 50, fixed_size = False) config.hdmicec.input_value2 = ConfigText(default = "", visible_width = 50, fixed_size = False)