X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/51550aa81c726aedfa7159af0e67f8bcd5fb8a2f..19ce1123c780a9475e2f158712da6e73fa543e9c:/lib/python/Screens/LocationBox.py diff --git a/lib/python/Screens/LocationBox.py b/lib/python/Screens/LocationBox.py index e41601a9..7cd6cbf9 100644 --- a/lib/python/Screens/LocationBox.py +++ b/lib/python/Screens/LocationBox.py @@ -125,7 +125,7 @@ class LocationBox(Screen, NumericalTextInput, HelpableScreen): "up": self.up, "down": self.down, "ok": (self.ok, _("select")), - "back": (self.cancel, _("cancel")), + "back": (self.cancel, _("Cancel")), }, -2) self["ColorActions"] = LocationBoxActionMap(self, "ColorActions", @@ -498,6 +498,8 @@ class LocationBox(Screen, NumericalTextInput, HelpableScreen): return str(type(self)) + "(" + self.text + ")" class MovieLocationBox(LocationBox): + skinName = "LocationBox" + def __init__(self, session, text, dir, minFree = None): inhibitDirs = ["/bin", "/boot", "/dev", "/etc", "/lib", "/proc", "/sbin", "/sys", "/usr", "/var"] LocationBox.__init__(self, session, text = text, currDir = dir, bookmarks = config.movielist.videodirs, autoAdd = True, editDir = True, inhibitDirs = inhibitDirs, minFree = minFree)