summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rwxr-xr-xdraksnapshot-applet3
2 files changed, 5 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 945f321..f62710f 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- applet:
+ o fix crash introduced in 0.18
+
Version 0.18 - 30 September 2008, Thierry Vignaud
- applet:
diff --git a/draksnapshot-applet b/draksnapshot-applet
index 715604e..765d31f 100755
--- a/draksnapshot-applet
+++ b/draksnapshot-applet
@@ -93,7 +93,8 @@ my $dbus_error = $@;
# initializing DBus/HAL:
my ($do, $con);
-if ($dbus && $do = eval { dbus_object->new($dbus, $hal_dn, $manager_path, $hal_manager) }) {
+$do = eval { dbus_object->new($dbus, $hal_dn, $manager_path, $hal_manager) };
+if ($dbus && $do) {
$con = eval { $dbus->{connection} };
my $old_time;