summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rwxr-xr-xdraksnapshot-applet4
2 files changed, 6 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 920bdc7..6f01b7f 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- applet:
+ o do not wake up on CD insertion (#39748)
+
Version 0.8 - 3 April 2008, Thierry Vignaud
- updated translations
diff --git a/draksnapshot-applet b/draksnapshot-applet
index 3f884b5..dfd899c 100755
--- a/draksnapshot-applet
+++ b/draksnapshot-applet
@@ -88,7 +88,9 @@ $con->add_filter(sub {
my $bool;
eval {
my $device = $hal->get_object(($msg->get_args_list)[0], "$hal_dn.Device");
- $bool = $device->QueryCapability('block') && $device->GetProperty('block.is_volume');
+ $bool =
+ $device->QueryCapability('volume') && !$device->GetProperty('volume.is_disc') &&
+ $device->QueryCapability('block') && $device->GetProperty('block.is_volume');
};
if ($bool) {
my $time = time();