From 59aa5a4c4a1dd96dbc886d09517fac35a6a9104d Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 5 Mar 2008 05:15:15 +0000 Subject: (silentCheck) do not notify again if already done git-svn-id: http://svn.mandriva.com/svn/soft/draksnapshot/trunk@238624 99302b65-d5f7-0310-b3dd-f8cd6f4e3d94 --- NEWS | 1 + draksnapshot-applet | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 0dadb54..1fc066e 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,5 @@ - applet: + o do not notify again if already done o do not skip initial check o only show up if detecting new discs o refresh cache of USB devices list diff --git a/draksnapshot-applet b/draksnapshot-applet index 4bdd41d..f32270d 100755 --- a/draksnapshot-applet +++ b/draksnapshot-applet @@ -152,7 +152,7 @@ sub silentCheck() { # are there any updates ? my @a = difference2(\@discs, \@old_discs); - if (@a) { + if (@a && $state_global ne 'disk_found') { go2State('disk_found'); } @old_discs = @discs; -- cgit v1.2.1