summaryrefslogtreecommitdiffstats
path: root/draksnapshot-applet
diff options
context:
space:
mode:
authortv <tv@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94>2008-03-05 05:15:58 +0000
committertv <tv@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94>2008-03-05 05:15:58 +0000
commit2842c48050f10aede9449a2792532d7272efb8cb (patch)
tree9e1ac2ed7756af2a2ba26cff499378e5e399207b /draksnapshot-applet
parent59aa5a4c4a1dd96dbc886d09517fac35a6a9104d (diff)
downloaddraksnapshot-2842c48050f10aede9449a2792532d7272efb8cb.tar
draksnapshot-2842c48050f10aede9449a2792532d7272efb8cb.tar.gz
draksnapshot-2842c48050f10aede9449a2792532d7272efb8cb.tar.bz2
draksnapshot-2842c48050f10aede9449a2792532d7272efb8cb.tar.xz
draksnapshot-2842c48050f10aede9449a2792532d7272efb8cb.zip
(silentCheck) hide again if no more USB disk
git-svn-id: http://svn.mandriva.com/svn/soft/draksnapshot/trunk@238625 99302b65-d5f7-0310-b3dd-f8cd6f4e3d94
Diffstat (limited to 'draksnapshot-applet')
-rwxr-xr-xdraksnapshot-applet1
1 files changed, 1 insertions, 0 deletions
diff --git a/draksnapshot-applet b/draksnapshot-applet
index f32270d..a126947 100755
--- a/draksnapshot-applet
+++ b/draksnapshot-applet
@@ -148,6 +148,7 @@ sub silentCheck() {
# force refreshing cache:
detect_devices::probeall_update_cache();
@discs = grep { $_->{usb_bus} } detect_devices::hds();
+ go2State('okay') if !@discs;
# are there any updates ?