Merge branch 'master' into xmpp
Conflicts: Assistant/Threads/NetWatcher.hs
This commit is contained in:
commit
d1e5f2d596
13 changed files with 116 additions and 18 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue