diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2008-04-27 22:05:13 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2008-04-27 22:05:13 +0000 |
| commit | 37a96b1e3b2c6b09e7b868ed2ab0e2a5a92ba735 (patch) | |
| tree | 1cc3aeea077f6ae330eb872fb03723f25c6521ef /lib/python/Plugins/SystemPlugins/Videomode/plugin.py | |
| parent | 2d99a849b913c564e510acb743192663e3a12c2d (diff) | |
| download | enigma2-37a96b1e3b2c6b09e7b868ed2ab0e2a5a92ba735.tar.gz enigma2-37a96b1e3b2c6b09e7b868ed2ab0e2a5a92ba735.zip | |
remove check for config.misc.firstrun and start video wizard if
config.misc.videowizardenabled is true instead
Diffstat (limited to 'lib/python/Plugins/SystemPlugins/Videomode/plugin.py')
| -rw-r--r-- | lib/python/Plugins/SystemPlugins/Videomode/plugin.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/python/Plugins/SystemPlugins/Videomode/plugin.py b/lib/python/Plugins/SystemPlugins/Videomode/plugin.py index 031d2c12..115e81f7 100644 --- a/lib/python/Plugins/SystemPlugins/Videomode/plugin.py +++ b/lib/python/Plugins/SystemPlugins/Videomode/plugin.py @@ -2,11 +2,12 @@ from Screens.Screen import Screen from Plugins.Plugin import PluginDescriptor from Components.SystemInfo import SystemInfo from Components.ConfigList import ConfigListScreen -from Components.config import getConfigListEntry, config -from Components.config import config +from Components.config import getConfigListEntry, config, ConfigBoolean from VideoHardware import video_hw +config.misc.videowizardenabled = ConfigBoolean(default = True) + class VideoSetup(Screen, ConfigListScreen): def __init__(self, session, hw): Screen.__init__(self, session) @@ -208,6 +209,6 @@ def Plugins(**kwargs): # PluginDescriptor(where = [PluginDescriptor.WHERE_SESSIONSTART, PluginDescriptor.WHERE_AUTOSTART], fnc = autostart), PluginDescriptor(name=_("Video Setup"), description=_("Advanced Video Setup"), where = PluginDescriptor.WHERE_MENU, fnc=startSetup) ] - if config.misc.firstrun.value: + if config.misc.videowizardenabled.value: list.append(PluginDescriptor(name=_("Video Wizard"), where = PluginDescriptor.WHERE_WIZARD, fnc=(0, VideoWizard))) return list |
