[vuplus-wifi-util] fix default ccode
[vuplus_openvuplus_3.0] / meta-openvuplus / recipes-vuplus / e2openplugins / files / autoshutdown-default-time_20121207.patch
1 diff --git a/src/plugin.py b/src/plugin.py
2 index 4bb7533..4f90dae 100644
3 --- a/src/plugin.py
4 +++ b/src/plugin.py
5 @@ -27,7 +27,7 @@ from __init__ import _
6  
7  config.autoshutdown = ConfigSubsection()
8  config.autoshutdown.time = ConfigInteger(default = 120, limits = (1, 1440))
9 -config.autoshutdown.inactivetime = ConfigInteger(default = 60, limits = (1, 1440))
10 +config.autoshutdown.inactivetime = ConfigInteger(default = 300, limits = (1, 1440))
11  config.autoshutdown.autostart = ConfigEnableDisable(default=True)
12  config.autoshutdown.enableinactivity = ConfigEnableDisable(default=True)
13  config.autoshutdown.inactivityaction = ConfigSelection(default = "standby", choices = [("standby", _("Standby")), ("deepstandby", _("Deepstandby"))])
14 @@ -263,7 +263,7 @@ class AutoShutDownConfiguration(Screen, ConfigListScreen):
15                         config.autoshutdown.time.setValue(120)
16                         config.autoshutdown.autostart.setValue(1)
17                         config.autoshutdown.enableinactivity.setValue(1)
18 -                       config.autoshutdown.inactivetime.setValue(60)
19 +                       config.autoshutdown.inactivetime.setValue(300)
20                         config.autoshutdown.inactivityaction.setValue("standby")
21                         config.autoshutdown.epgrefresh.setValue(1)
22                         config.autoshutdown.plugin.setValue(1)