aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-01-06 22:20:37 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-01-06 22:20:37 +0000
commit834926ea17f0489f857e6cfbd886171740928d6f (patch)
treeaf16559929140712a389f5d83f46c2bf7d14c1ca /lib/python/Components
parent3c79adcf97b4c2c84ede4212b6ede42c5987db83 (diff)
downloadenigma2-834926ea17f0489f857e6cfbd886171740928d6f.tar.gz
enigma2-834926ea17f0489f857e6cfbd886171740928d6f.zip
make epg toggling configurable (default set to unusable epg on INFO key)
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