| Age | Commit message (Collapse) | Author | 
|---|
|  | It's easy to implement, since arguments to dbus method calls are handed
over as list anyway. It also removes the need for safeHead.
Bottom line: extra functionality without extra cost. | 
|  | connectSession throws a ClientError Exception when
DBUS_SESSION_BUS_ADDRESS is unset. Without exception handler this will
result in program termination.
Since the DBus handler merely sends a signal to the event loop it does
no harm when it won't run. Normal operation will continue just if
compiled without dbus support. | 
|  | This belongs here, otherwise ghc will complain about orphaned instances | 
|  | safeHead is a very general utility function with suits better into a
common Util module. | 
|  |  |