git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SystemPlugins/NetworkWizard: Don't depend on device names where possible. Some code...
[enigma2.git]
/
lib
/
python
/
Plugins
/
SystemPlugins
/
Videomode
/
plugin.py
diff --git
a/lib/python/Plugins/SystemPlugins/Videomode/plugin.py
b/lib/python/Plugins/SystemPlugins/Videomode/plugin.py
old mode 100755
(executable)
new mode 100644
(file)
index
db810f0
..
7396534
--- a/
lib/python/Plugins/SystemPlugins/Videomode/plugin.py
+++ b/
lib/python/Plugins/SystemPlugins/Videomode/plugin.py
@@
-13,6
+13,8
@@
class VideoSetup(Screen, ConfigListScreen):
def __init__(self, session, hw):
Screen.__init__(self, session)
def __init__(self, session, hw):
Screen.__init__(self, session)
+ # for the skin: first try VideoSetup, then Setup, this allows individual skinning
+ self.skinName = ["VideoSetup", "Setup" ]
self.setup_title = _("A/V Settings")
self.hw = hw
self.onChangedEntry = [ ]
self.setup_title = _("A/V Settings")
self.hw = hw
self.onChangedEntry = [ ]
@@
-216,7
+218,7
@@
def startSetup(menuid):
if menuid != "system":
return [ ]
if menuid != "system":
return [ ]
- return [(_("A/V Settings")
+ "..."
, videoSetupMain, "av_setup", 40)]
+ return [(_("A/V Settings"), videoSetupMain, "av_setup", 40)]
def VideoWizard(*args, **kwargs):
from VideoWizard import VideoWizard
def VideoWizard(*args, **kwargs):
from VideoWizard import VideoWizard
@@
-225,8
+227,8
@@
def VideoWizard(*args, **kwargs):
def Plugins(**kwargs):
list = [
# PluginDescriptor(where = [PluginDescriptor.WHERE_SESSIONSTART, PluginDescriptor.WHERE_AUTOSTART], fnc = autostart),
def Plugins(**kwargs):
list = [
# PluginDescriptor(where = [PluginDescriptor.WHERE_SESSIONSTART, PluginDescriptor.WHERE_AUTOSTART], fnc = autostart),
- PluginDescriptor(name=_("Video Setup"), description=_("Advanced Video Setup"), where = PluginDescriptor.WHERE_MENU, fnc=startSetup)
+ PluginDescriptor(name=_("Video Setup"), description=_("Advanced Video Setup"), where = PluginDescriptor.WHERE_MENU,
needsRestart = False,
fnc=startSetup)
]
if config.misc.videowizardenabled.value:
]
if config.misc.videowizardenabled.value:
- list.append(PluginDescriptor(name=_("Video Wizard"), where = PluginDescriptor.WHERE_WIZARD, fnc=(0, VideoWizard)))
+ list.append(PluginDescriptor(name=_("Video Wizard"), where = PluginDescriptor.WHERE_WIZARD,
needsRestart = False,
fnc=(0, VideoWizard)))
return list
return list