X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=lib%2Fpython%2FComponents%2FFileList.py;h=1d71514b9d105ab6dbb2efbed7ba3118ef96b06d;hb=088902285e167e612e0f4ae8ae9f72a3e9079ea4;hp=841a2fe5fc6ba47be6a8b585648812b29a2cb0c8;hpb=a415c30723058b3da1c7cbc1adf7c2205508915b;p=vuplus_dvbapp diff --git a/lib/python/Components/FileList.py b/lib/python/Components/FileList.py index 841a2fe..1d71514 100755 --- a/lib/python/Components/FileList.py +++ b/lib/python/Components/FileList.py @@ -196,6 +196,9 @@ class FileList(MenuList): if (self.matchingPattern is None) or re_compile(self.matchingPattern).search(path): self.list.append(FileEntryComponent(name = name, absolute = x , isDir = False)) + if self.showMountpoints and len(self.list) == 0: + self.list.append(FileEntryComponent(name = _("nothing connected"), absolute = None, isDir = False)) + self.l.setList(self.list) if select is not None: