diff options
-rw-r--r-- | NEWS | 3 | ||||
-rwxr-xr-x | draksnapshot-applet | 4 |
2 files changed, 6 insertions, 1 deletions
@@ -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(); |