From 834926ea17f0489f857e6cfbd886171740928d6f Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Fri, 6 Jan 2006 22:20:37 +0000 Subject: make epg toggling configurable (default set to unusable epg on INFO key) --- lib/python/Components/Makefile.am | 2 +- lib/python/Components/UsageConfig.py | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 lib/python/Components/UsageConfig.py (limited to 'lib/python/Components') 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 -- cgit v1.2.3