From 9208ede8da1fd495eafc24b9dd2d75d84f8a5952 Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Thu, 19 Feb 2009 01:56:43 +0100 Subject: - increase video wizard timeout from 10 to 20 seconds - rearrange summary screen widgets - set summary screen before anything else in the wizard --- lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py | 4 ++-- lib/python/Plugins/SystemPlugins/Videomode/videowizard.xml | 12 ++++++------ lib/python/Screens/Wizard.py | 5 +++++ 3 files changed, 13 insertions(+), 8 deletions(-) (limited to 'lib/python') diff --git a/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py b/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py index 1d7ce7b5..095e94c0 100644 --- a/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py +++ b/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py @@ -13,8 +13,8 @@ config.misc.showtestcard = ConfigBoolean(default = False) class VideoWizardSummary(WizardSummary): skin = """ - - + + diff --git a/lib/python/Plugins/SystemPlugins/Videomode/videowizard.xml b/lib/python/Plugins/SystemPlugins/Videomode/videowizard.xml index 2a592aae..29ac4297 100644 --- a/lib/python/Plugins/SystemPlugins/Videomode/videowizard.xml +++ b/lib/python/Plugins/SystemPlugins/Videomode/videowizard.xml @@ -1,7 +1,7 @@ - + - + self["portpic"].show() @@ -9,7 +9,7 @@ self.clearSelectedKeys() self.selectKey("OK") - + @@ -20,7 +20,7 @@ self.selectKey("DOWN") self["portpic"].hide() - + self.condition = (self.port != "DVI" or self.mode == "PC") @@ -46,7 +46,7 @@ self.selectKey("DOWN") self.rateSelect("60Hz") - + self.condition = (self.port == "DVI" and self.mode in ["720p", "1080i"]) @@ -77,7 +77,7 @@ self.selectKey("UP") self.selectKey("DOWN") - + self.condition = (self.port == "DVI" and self.mode in ["720p", "1080i"]) diff --git a/lib/python/Screens/Wizard.py b/lib/python/Screens/Wizard.py index 2326b915..7d454f43 100755 --- a/lib/python/Screens/Wizard.py +++ b/lib/python/Screens/Wizard.py @@ -475,6 +475,11 @@ class Wizard(Screen): self.currStep += 1 self.updateValues() else: + if self.wizard[self.currStep].has_key("displaytext"): + displaytext = self.wizard[self.currStep]["displaytext"] + print "set LCD text" + for x in self.lcdCallbacks: + x(displaytext) if len(self.stepHistory) == 0 or self.stepHistory[-1] != self.currStep: self.stepHistory.append(self.currStep) print "wizard step:", self.wizard[self.currStep] -- cgit v1.2.3 From 6bb47ff06e84149578671195a702e22ada245d37 Mon Sep 17 00:00:00 2001 From: Fraxinas Date: Thu, 19 Feb 2009 13:29:45 +0100 Subject: always show option to open file browser in exit dialoge (also when playing from actual dvd medium) --- lib/python/Plugins/Extensions/DVDPlayer/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/python') diff --git a/lib/python/Plugins/Extensions/DVDPlayer/plugin.py b/lib/python/Plugins/Extensions/DVDPlayer/plugin.py index 8e2a9f3a..6a8ffc6f 100644 --- a/lib/python/Plugins/Extensions/DVDPlayer/plugin.py +++ b/lib/python/Plugins/Extensions/DVDPlayer/plugin.py @@ -511,7 +511,7 @@ class DVDPlayer(Screen, InfoBarBase, InfoBarNotifications, InfoBarSeek, InfoBarP def askLeavePlayer(self): choices = [(_("Exit"), "exit"), (_("Continue playing"), "play")] - if not self.physicalDVD: + if True or not self.physicalDVD: choices.insert(1,(_("Return to file browser"), "browser")) self.session.openWithCallback(self.exitCB, ChoiceBox, title=_("Leave DVD Player?"), list = choices) -- cgit v1.2.3