Re: [Sugar-devel] [Read PATCH] don't break if HAL is not available

2010-06-17 Thread Sascha Silbe
Excerpts from Benjamin M. Schwartz's message of Thu Jun 17 00:31:06 + 2010: It might be worth logging an explanation like NOTICE: Battery tray icon not displayed because HAL is not available. Fair point. In the long run Read should switch to upower, but I'll wait with that until it works

[Sugar-devel] [Read PATCH] don't break if HAL is not available

2010-06-16 Thread Sascha Silbe
HAL is only used for displaying the current battery status, so it's entirely optional. Signed-off-by: Sascha Silbe sascha-...@silbe.org --- readtopbar.py | 26 +++--- 1 files changed, 15 insertions(+), 11 deletions(-) diff --git a/readtopbar.py b/readtopbar.py index

Re: [Sugar-devel] [Read PATCH] don't break if HAL is not available

2010-06-16 Thread Benjamin M. Schwartz
On 06/16/2010 06:22 PM, Sascha Silbe wrote: +except dbus.DBusException: +pass It might be worth logging an explanation like NOTICE: Battery tray icon not displayed because HAL is not available. --Ben signature.asc Description: OpenPGP digital signature