Merge remote-tracking branch 'origin/obi/master-20110412'
authorghost <andreas.monzner@multimedia-labs.de>
Wed, 7 Sep 2011 10:25:04 +0000 (12:25 +0200)
committerghost <andreas.monzner@multimedia-labs.de>
Wed, 7 Sep 2011 10:25:04 +0000 (12:25 +0200)
lib/python/Components/Scanner.py
lib/python/Plugins/SystemPlugins/SoftwareManager/BackupRestore.py

index 813c09f..e01c61f 100644 (file)
@@ -11,6 +11,8 @@ add_type("application/x-dream-package", ".dmpkg")
 add_type("application/x-dream-image", ".nfi")
 add_type("video/MP2T", ".ts")
 add_type("video/x-dvd-iso", ".iso")
+add_type("video/x-matroska", ".mkv")
+add_type("audio/x-matroska", ".mka")
 
 def getType(file):
        (type, _) = guess_type(file)
index bfe28b4..c7c143f 100755 (executable)
@@ -267,7 +267,7 @@ class RestoreMenu(Screen):
                        self.sel = self["filelist"].getCurrent()
                        if self.sel:
                                self.val = self.path + "/" + self.sel
-                               self.session.openWithCallback(self.startDelete, MessageBox, _("Are you sure you want to delete\nfollowing backup:\n" + self.sel ))
+                               self.session.openWithCallback(self.startDelete, MessageBox, _("Are you sure you want to delete\nfollowing backup:\n") + self.sel)
 
        def startDelete(self, ret = False):
                if (ret == True):