diff options
author | tv <tv@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94> | 2008-03-05 05:15:58 +0000 |
---|---|---|
committer | tv <tv@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94> | 2008-03-05 05:15:58 +0000 |
commit | 2842c48050f10aede9449a2792532d7272efb8cb (patch) | |
tree | 9e1ac2ed7756af2a2ba26cff499378e5e399207b | |
parent | 59aa5a4c4a1dd96dbc886d09517fac35a6a9104d (diff) | |
download | draksnapshot-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
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | draksnapshot-applet | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -1,6 +1,7 @@ - applet: o do not notify again if already done o do not skip initial check + o hide again if no more USB disk o only show up if detecting new discs o refresh cache of USB devices list o run check every 2s instead of every 5mns 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 ? |