always show option to open file browser in exit dialoge (also when playing from actua...
authorFraxinas <andreas.frisch@multimedia-labs.de>
Thu, 19 Feb 2009 12:29:45 +0000 (13:29 +0100)
committerFraxinas <andreas.frisch@multimedia-labs.de>
Thu, 19 Feb 2009 12:29:45 +0000 (13:29 +0100)
lib/python/Plugins/Extensions/DVDPlayer/plugin.py

index 8e2a9f3..6a8ffc6 100644 (file)
@@ -511,7 +511,7 @@ class DVDPlayer(Screen, InfoBarBase, InfoBarNotifications, InfoBarSeek, InfoBarP
                
        def askLeavePlayer(self):
                choices = [(_("Exit"), "exit"), (_("Continue playing"), "play")]
                
        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)
 
                        choices.insert(1,(_("Return to file browser"), "browser"))
                self.session.openWithCallback(self.exitCB, ChoiceBox, title=_("Leave DVD Player?"), list = choices)