make hidden... translateable
[enigma2.git] / lib / python / Screens / LocationBox.py
index 6d360339540c7c181421dcfee202ed634af1f2cc..7cd6cbf9d6a7d0e68873bddd5383a3873491ce3d 100644 (file)
@@ -12,8 +12,7 @@ from Screens.ChoiceBox import ChoiceBox
 # Generic
 from Tools.BoundFunction import boundFunction
 from Tools.Directories import *
-from Components.config import config, configfile, ConfigSubList, ConfigSubsection, \
-               ConfigText, ConfigNumber, ConfigBoolean
+from Components.config import config
 import os
 
 # Quickselect
@@ -126,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",
@@ -499,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)