summaryrefslogtreecommitdiff
path: root/Assistant/Threads/MountWatcher.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-01-10 16:43:22 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-01-10 16:43:22 -0400
commit6d7ae3cfb524ee7c1baa51d7b0ac152be70799dd (patch)
tree5d49bfe4c7c5f34d7c6792b5aeb1877ec74b199c /Assistant/Threads/MountWatcher.hs
parent2570cf48b80c16ef53afe92f030887602fe41717 (diff)
fix
Diffstat (limited to 'Assistant/Threads/MountWatcher.hs')
-rw-r--r--Assistant/Threads/MountWatcher.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Assistant/Threads/MountWatcher.hs b/Assistant/Threads/MountWatcher.hs
index 52209bee4..45930df69 100644
--- a/Assistant/Threads/MountWatcher.hs
+++ b/Assistant/Threads/MountWatcher.hs
@@ -119,11 +119,11 @@ startOneService client (x:xs) = do
{- Filter matching events recieved when drives are mounted and unmounted. -}
mountChanged :: [MatchRule]
-mountChanged = [gvfs True, gvfsgdu False, kde, kdefallback]
+mountChanged = [gvfs True, gvfs False, kde, kdefallback]
where
{- gvfs reliably generates this event whenever a
- drive is mounted/unmounted, whether automatically, or manually -}
- gvfsgdu mount = matchAny
+ gvfs mount = matchAny
{ matchInterface = Just "org.gtk.Private.RemoteVolumeMonitor"
, matchMember = Just $ if mount then "MountAdded" else "MountRemoved"
}