aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/UsageConfig.py
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-01-19 17:06:27 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-01-19 17:06:27 +0000
commit51845a7b8ea8bad523b083d1564e1b907fbdc84e (patch)
tree59bc49b03b4f71e60696af8babf64381596934a5 /lib/python/Components/UsageConfig.py
parent33ce69ca1622ce06f00661c5974d2fbb78e0c2d5 (diff)
downloadenigma2-51845a7b8ea8bad523b083d1564e1b907fbdc84e.tar.gz
enigma2-51845a7b8ea8bad523b083d1564e1b907fbdc84e.zip
add non working multi bouquet switch
Diffstat (limited to 'lib/python/Components/UsageConfig.py')
-rw-r--r--lib/python/Components/UsageConfig.py14
1 files changed, 13 insertions, 1 deletions
diff --git a/lib/python/Components/UsageConfig.py b/lib/python/Components/UsageConfig.py
index 5646a329..027dc3ff 100644
--- a/lib/python/Components/UsageConfig.py
+++ b/lib/python/Components/UsageConfig.py
@@ -2,7 +2,19 @@ from config import *
import os
from enigma import *
+from Screens.ChannelSelection import USE_MULTIBOUQUETS
+global USE_MULTIBOUQUETS
+
def InitUsageConfig():
config.usage = ConfigSubsection();
config.usage.epgtoggle = configElement("config.usage.epgtoggle", configSelection, 1, (("yes", _("yes")), ("no", _("no"))) )
- config.usage.showdish = configElement("config.usage.showdish", configSelection, 1, (("yes", _("yes")), ("no", _("no"))) ) \ No newline at end of file
+ config.usage.showdish = configElement("config.usage.showdish", configSelection, 1, (("yes", _("yes")), ("no", _("no"))) )
+ config.usage.multibouquet = configElement("config.usage.multibouquet", configSelection, 1, (("yes", _("yes")), ("no", _("no"))) )
+
+ def setMultiBouquet(configElement):
+ if currentConfigSelectionElement(configElement) == "no":
+ USE_MULTIBOUQUETS = False
+ else:
+ USE_MULTIBOUQUETS = True
+
+ config.usage.multibouquet.addNotifier(setMultiBouquet); \ No newline at end of file