summaryrefslogtreecommitdiffstats
path: root/draksnapshot-applet
diff options
context:
space:
mode:
authortv <tv@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94>2008-06-24 13:53:14 +0000
committertv <tv@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94>2008-06-24 13:53:14 +0000
commitc0ec9bf7ff37fff3a85bf0c66ded137ec4c8884f (patch)
treea424387f725ee02cf8c1692d1e58ee8c1a269efe /draksnapshot-applet
parent71635ab8e32e94a8b344fe7adeccb32d47789ec4 (diff)
downloaddraksnapshot-c0ec9bf7ff37fff3a85bf0c66ded137ec4c8884f.tar
draksnapshot-c0ec9bf7ff37fff3a85bf0c66ded137ec4c8884f.tar.gz
draksnapshot-c0ec9bf7ff37fff3a85bf0c66ded137ec4c8884f.tar.bz2
draksnapshot-c0ec9bf7ff37fff3a85bf0c66ded137ec4c8884f.tar.xz
draksnapshot-c0ec9bf7ff37fff3a85bf0c66ded137ec4c8884f.zip
only popup if something is mounted
git-svn-id: http://svn.mandriva.com/svn/soft/draksnapshot/trunk@243060 99302b65-d5f7-0310-b3dd-f8cd6f4e3d94
Diffstat (limited to 'draksnapshot-applet')
-rwxr-xr-xdraksnapshot-applet2
1 files changed, 1 insertions, 1 deletions
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();