diff options
author | Joey Hess <joey@kitenet.net> | 2012-07-29 18:07:45 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-07-29 18:09:24 -0400 |
commit | d52c93242450c0bd01e7d3c1fdae375806aa6e1f (patch) | |
tree | ea3ae0b9db0f7c859b8d260a70f54b41d9a4bd3c /Assistant/Threads/Watcher.hs | |
parent | b2dc8fdb06068276869df682b439348aa96e57f5 (diff) |
moved all alert messages into one file
Makes it easier to edit for consistent voice etc.
Diffstat (limited to 'Assistant/Threads/Watcher.hs')
-rw-r--r-- | Assistant/Threads/Watcher.hs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Assistant/Threads/Watcher.hs b/Assistant/Threads/Watcher.hs index ade26be19..1c8d122d5 100644 --- a/Assistant/Threads/Watcher.hs +++ b/Assistant/Threads/Watcher.hs @@ -75,7 +75,7 @@ watchThread st dstatus transferqueue changechan = do startupScan :: ThreadState -> DaemonStatusHandle -> IO a -> IO a startupScan st dstatus scanner = do runThreadState st $ showAction "scanning" - r <- alertWhile dstatus alert scanner + r <- alertWhile dstatus startupScanAlert scanner modifyDaemonStatus_ dstatus $ \s -> s { scanComplete = True } -- Notice any files that were deleted before watching was started. @@ -84,9 +84,6 @@ startupScan st dstatus scanner = do showAction "started" return r - - where - alert = activityAlert Nothing "Performing startup scan" ignored :: FilePath -> Bool ignored = ig . takeFileName |