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:
@@ -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))
|
||||
|
||||
|
||||
|
||||
|
||||
-----------------
|
||||
|
||||
Reference in New Issue
Block a user