aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens/InfoBarGenerics.py
diff options
context:
space:
mode:
authorFraxinas <andreas.frisch@multimedia-labs.de>2008-12-03 17:53:56 +0100
committerFraxinas <andreas.frisch@multimedia-labs.de>2008-12-03 17:53:56 +0100
commitc2bbed774d6e5c51b4af23a60a95aca74aa5d4e9 (patch)
tree9e2a42a0d25b38c01c7149104b96d2dacb235bc5 /lib/python/Screens/InfoBarGenerics.py
parent4dda70dcac6996c8b0a2016c49d6cfbab7128fee (diff)
parent2e5c13aebb389a6d74e4130658ccee6a863d01f6 (diff)
downloadenigma2-c2bbed774d6e5c51b4af23a60a95aca74aa5d4e9.tar.gz
enigma2-c2bbed774d6e5c51b4af23a60a95aca74aa5d4e9.zip
Merge branch 'master' of fraxinas@git.opendreambox.org:/git/enigma2
Diffstat (limited to 'lib/python/Screens/InfoBarGenerics.py')
-rw-r--r--lib/python/Screens/InfoBarGenerics.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/python/Screens/InfoBarGenerics.py b/lib/python/Screens/InfoBarGenerics.py
index b923340c..af29ed4e 100644
--- a/lib/python/Screens/InfoBarGenerics.py
+++ b/lib/python/Screens/InfoBarGenerics.py
@@ -348,14 +348,14 @@ class InfoBarMenu:
def mainMenu(self):
print "loading mainmenu XML..."
- menu = mdom.childNodes[0]
- assert menu.tagName == "menu", "root element in menu must be 'menu'!"
+ menu = mdom.getroot()
+ assert menu.tag == "menu", "root element in menu must be 'menu'!"
self.session.infobar = self
# so we can access the currently active infobar from screens opened from within the mainmenu
# at the moment used from the SubserviceSelection
- self.session.openWithCallback(self.mainMenuClosed, MainMenu, menu, menu.childNodes)
+ self.session.openWithCallback(self.mainMenuClosed, MainMenu, menu)
def mainMenuClosed(self, *val):
self.session.infobar = None