summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rwxr-xr-xdraksnapshot-applet3
2 files changed, 4 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 26f48f8..4cbfb32 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- applet:
+ o fix crash if DBus is active but Hal isn't (#44434)
+
Version 0.17 - 30 September 2008, Thierry Vignaud
- configurator:
diff --git a/draksnapshot-applet b/draksnapshot-applet
index 587a1f7..715604e 100755
--- a/draksnapshot-applet
+++ b/draksnapshot-applet
@@ -93,8 +93,7 @@ my $dbus_error = $@;
# initializing DBus/HAL:
my ($do, $con);
-if ($dbus) {
- $do = dbus_object->new($dbus, $hal_dn, $manager_path, $hal_manager);
+if ($dbus && $do = eval { dbus_object->new($dbus, $hal_dn, $manager_path, $hal_manager) }) {
$con = eval { $dbus->{connection} };
my $old_time;