summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rwxr-xr-xdraksnapshot-applet2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 63cd765..f7aa8bc 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,7 @@
- applet:
o make notifications be more informative (#40360)
o keep running if configured once
+ o only popup if something is mounted
- configurator:
o fix backup not done due to bad permissions (#39811)
diff --git a/draksnapshot-applet b/draksnapshot-applet
index 9f40bdd..8df6714 100755
--- a/draksnapshot-applet
+++ b/draksnapshot-applet
@@ -90,7 +90,7 @@ $con->add_filter(sub {
my $device = $hal->get_object(($msg->get_args_list)[0], "$hal_dn.Device");
$bool =
$device->QueryCapability('volume') && !$device->GetProperty('volume.is_disc') &&
- $device->QueryCapability('block') && $device->GetProperty('block.is_volume');
+ $device->GetProperty('volume.is_mounted');
};
if ($bool) {
my $time = time();