aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Components')
-rw-r--r--lib/python/Components/Makefile.am2
-rw-r--r--lib/python/Components/UsageConfig.py7
2 files changed, 8 insertions, 1 deletions
diff --git a/lib/python/Components/Makefile.am b/lib/python/Components/Makefile.am
index a5058cf9..9826daab 100644
--- a/lib/python/Components/Makefile.am
+++ b/lib/python/Components/Makefile.am
@@ -11,4 +11,4 @@ install_PYTHON = \
AVSwitch.py Network.py RFmod.py DiskInfo.py NimManager.py Lcd.py \
EpgList.py ScrollLabel.py Timezones.py Language.py HelpMenuList.py \
BlinkingPixmap.py Pixmap.py ConditionalWidget.py Slider.py LanguageList.py \
- PluginList.py PluginComponent.py RecordingConfig.py About.py
+ PluginList.py PluginComponent.py RecordingConfig.py About.py UsageConfig.py
diff --git a/lib/python/Components/UsageConfig.py b/lib/python/Components/UsageConfig.py
new file mode 100644
index 00000000..8b4a2960
--- /dev/null
+++ b/lib/python/Components/UsageConfig.py
@@ -0,0 +1,7 @@
+from config import *
+import os
+from enigma import *
+
+def InitUsageConfig():
+ config.usage = ConfigSubsection();
+ config.usage.epgtoggle = configElement("config.usage.epgtoggle", configSelection, 1, (("yes", _("yes")), ("no", _("no"))) ); \ No newline at end of file