--- nautilus-compare.py.orig 2013-06-27 12:56:36.280852809 +0200 +++ nautilus-compare.py 2013-06-27 12:56:15.712853348 +0200 @@ -63,7 +63,7 @@ def valid_file(self, file): '''Tests if the file is valid comparable''' - if file.get_uri_scheme() == 'file' and file.get_file_type() in (Gio.FileType.DIRECTORY, Gio.FileType.REGULAR, Gio.FileType.SYMBOLIC_LINK): + if file.get_location().get_path() is not None and file.get_file_type() in (Gio.FileType.DIRECTORY, Gio.FileType.REGULAR, Gio.FileType.SYMBOLIC_LINK): return True else: return False @@ -73,7 +73,7 @@ paths = [] for file in files: if self.valid_file(file): - path = urllib.unquote(file.get_uri()[7:]) + path = file.get_location().get_path() paths.append(path) # no files selected