diff options
author | Joey Hess <joey@kitenet.net> | 2013-01-10 16:18:26 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-01-10 16:18:26 -0400 |
commit | 2570cf48b80c16ef53afe92f030887602fe41717 (patch) | |
tree | 8a109b7a77c065db2c76c94384d9987d94fdb864 /Assistant | |
parent | a18871f36ef6f3357fc009a32b275a9518dcb575 (diff) |
fix fix to names
Diffstat (limited to 'Assistant')
-rw-r--r-- | Assistant/Threads/MountWatcher.hs | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/Assistant/Threads/MountWatcher.hs b/Assistant/Threads/MountWatcher.hs index fd0b9c2f9..52209bee4 100644 --- a/Assistant/Threads/MountWatcher.hs +++ b/Assistant/Threads/MountWatcher.hs @@ -121,15 +121,10 @@ startOneService client (x:xs) = do mountChanged :: [MatchRule] mountChanged = [gvfs True, gvfsgdu False, kde, kdefallback] where - {- gdu gvfs reliably generates this event whenever a + {- gvfs reliably generates this event whenever a - drive is mounted/unmounted, whether automatically, or manually -} gvfsgdu mount = matchAny - { matchInterface = Just "org.gtk.Private.UDisks2VolumeMonitor" - , matchMember = Just $ if mount then "MountAdded" else "MountRemoved" - } - {- new gvfs -} - gvfs mount = matchAny - { matchInterface = Just "org.gtk.Private.UDisks2VolumeMonitor" + { matchInterface = Just "org.gtk.Private.RemoteVolumeMonitor" , matchMember = Just $ if mount then "MountAdded" else "MountRemoved" } {- This event fires when KDE prompts the user what to do with a drive, |