GTK: implement selecting multiple rows (and operations on them)

Not all operations yet support it and will throw an InvalidOperation
error in that case.
This commit is contained in:
2015-12-27 18:17:33 +01:00
parent c454fb0b9e
commit aba62f03f2
4 changed files with 97 additions and 51 deletions

View File

@@ -361,6 +361,13 @@ pattern FileLikeSym f <- (fileLikeSym -> (True, f))
pattern ABrokenSymlink f <- (abrokenSymlink -> (True, f))
pattern BrokenSymlink f <- (brokenSymlink -> (True, f))
pattern DirList fs <- (\fs -> (foldr (&&) True . fmap (fst . sadir) $ fs, fs)
-> (True, fs))
pattern FileLikeList fs <- (\fs -> (foldr (&&) True
. fmap (fst . safileLike)
$ fs, fs) -> (True, fs))
-----------------