summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rwxr-xr-xdraksnapshot-applet1
2 files changed, 2 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 1fc066e..ddca52a 100644
--- a/NEWS
+++ b/NEWS
@@ -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 ?