Adjust to hpath-0.6.0

This commit is contained in:
Julian Ospald 2016-05-10 02:05:05 +02:00
parent aaa6dc7e48
commit 8739ccc55f
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28
2 changed files with 4 additions and 3 deletions

View File

@ -35,7 +35,7 @@ library
data-default,
filepath >= 1.3.0.0,
hinotify-bytestring,
hpath >= 0.5.9,
hpath >= 0.6.0,
safe,
stm,
time >= 1.4.2,
@ -76,7 +76,7 @@ executable hsfm-gtk
glib >= 0.13,
gtk3 >= 0.14.1,
hinotify-bytestring,
hpath >= 0.5.9,
hpath >= 0.6.0,
hsfm,
old-locale >= 1,
process,

View File

@ -80,6 +80,7 @@ import System.INotify
import System.Posix.FilePath
(
pathSeparator
, hiddenFile
)
@ -398,7 +399,7 @@ constructView mygui myview = do
item <- treeModelGetRow rawModel' iter >>= (P.basename . path)
if hidden
then return True
else return $ not . P.hiddenFile $ item
else return . not . hiddenFile . P.fromRel $ item
-- sorting
sortedModel' <- treeModelSortNewWithModel filteredModel'