Merge branch 'master' into xmpp

Conflicts:
	Assistant/Threads/NetWatcher.hs
This commit is contained in:
Joey Hess 2012-10-26 19:42:24 -04:00
commit d1e5f2d596
13 changed files with 116 additions and 18 deletions

View file

@ -74,6 +74,11 @@ dbusThread st dstatus scanremotes pushnotifier =
)
onerr :: E.SomeException -> IO ()
onerr e = do
{- If the session dbus fails, the user probably
- logged out of their desktop. Even if they log
- back in, we won't have access to the dbus
- session key, so polling is the best that can be
- done in this situation. -}
runThreadState st $
warning $ "dbus failed; falling back to mtab polling (" ++ show e ++ ")"
pollinstead