From 08b278a01d1c96ff8a04c868acb3d744ce1092e4 Mon Sep 17 00:00:00 2001 From: Sascha Silbe Date: Mon, 11 Jan 2010 21:04:48 +0000 Subject: fail gracefully if system DBus unreachable (#1403) System bus (DBus) is only required for optional features (non-permanent connection to jabber server, removable media, etc.), so fail gracefully (but output errors to logs) if it is unreachable. This aids testing Sugar inside chroots. Tested: - inside chroot (no system bus): errors in log, neighbourhood shows buddies - on XO-1 (regular session, no NM): no errors, neighbourhood shows buddies, battery shown - on XO-1 (regular session, NM): no errors, neighbourhood shows buddies and networks, battery shown, disconnecting + automatic reconnect works, shutdown works Signed-off-by: Sascha Silbe --- (limited to 'po') -- cgit v0.9.1