fix fix to names

This commit is contained in:
Joey Hess 2013-01-10 16:18:26 -04:00
parent 353467980f
commit f99563ad14

View file

@ -121,15 +121,10 @@ startOneService client (x:xs) = do
mountChanged :: [MatchRule] mountChanged :: [MatchRule]
mountChanged = [gvfs True, gvfsgdu False, kde, kdefallback] mountChanged = [gvfs True, gvfsgdu False, kde, kdefallback]
where where
{- gdu gvfs reliably generates this event whenever a {- gvfs reliably generates this event whenever a
- drive is mounted/unmounted, whether automatically, or manually -} - drive is mounted/unmounted, whether automatically, or manually -}
gvfsgdu mount = matchAny gvfsgdu mount = matchAny
{ matchInterface = Just "org.gtk.Private.UDisks2VolumeMonitor" { matchInterface = Just "org.gtk.Private.RemoteVolumeMonitor"
, matchMember = Just $ if mount then "MountAdded" else "MountRemoved"
}
{- new gvfs -}
gvfs mount = matchAny
{ matchInterface = Just "org.gtk.Private.UDisks2VolumeMonitor"
, matchMember = Just $ if mount then "MountAdded" else "MountRemoved" , matchMember = Just $ if mount then "MountAdded" else "MountRemoved"
} }
{- This event fires when KDE prompts the user what to do with a drive, {- This event fires when KDE prompts the user what to do with a drive,