aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins/Extensions/GraphMultiEPG
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2010-02-25 13:47:32 +0100
committerghost <andreas.monzner@multimedia-labs.de>2010-02-25 13:47:32 +0100
commitdd3cf818ebef5c080a8d49f6663200d284840974 (patch)
treeebac68ecd1e6f20af7a31d876fc75c1026b322b2 /lib/python/Plugins/Extensions/GraphMultiEPG
parent36a87ee437c42a5755400821ff2f39077be9bef3 (diff)
downloadenigma2-dd3cf818ebef5c080a8d49f6663200d284840974.tar.gz
enigma2-dd3cf818ebef5c080a8d49f6663200d284840974.zip
lib/python/Plugins/Extensions/GraphMultiEPG/plugin.py: [PATCH 3/3] use non-visual bouquet selector in graphmultiepg
Diffstat (limited to 'lib/python/Plugins/Extensions/GraphMultiEPG')
-rw-r--r--lib/python/Plugins/Extensions/GraphMultiEPG/plugin.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/python/Plugins/Extensions/GraphMultiEPG/plugin.py b/lib/python/Plugins/Extensions/GraphMultiEPG/plugin.py
index adb7015d..aed561bf 100644
--- a/lib/python/Plugins/Extensions/GraphMultiEPG/plugin.py
+++ b/lib/python/Plugins/Extensions/GraphMultiEPG/plugin.py
@@ -1,6 +1,6 @@
from Plugins.Plugin import PluginDescriptor
from GraphMultiEpg import GraphMultiEPG
-from Screens.ChannelSelection import BouquetSelector
+from Screens.ChannelSelection import SilentBouquetSelector
from enigma import eServiceCenter, eServiceReference
from ServiceReference import ServiceReference
@@ -79,16 +79,16 @@ def main(session, servicelist, **kwargs):
global Servicelist
Servicelist = servicelist
bouquets = Servicelist.getBouquetList()
+ root = Servicelist.getRoot()
if bouquets is None:
cnt = 0
else:
cnt = len(bouquets)
- if cnt > 1: # show bouquet list
+ if cnt > 1: # create bouquet list
global bouquetSel
- bouquetSel = Session.openWithCallback(closed, BouquetSelector, bouquets, openBouquetEPG, enableWrapAround=True)
- dlg_stack.append(bouquetSel)
- elif cnt == 1:
- if not openBouquetEPG(bouquets[0][1]):
+ bouquetSel = SilentBouquetSelector(bouquets, True, Servicelist.getBouquetNumOffset(root))
+ if cnt >= 1: # open current bouquet
+ if not openBouquetEPG(root):
cleanup()
def Plugins(**kwargs):