summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94>2008-09-26 14:20:20 +0000
committertv <tv@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94>2008-09-26 14:20:20 +0000
commit62f7ab17c808bfa6aff68773b7687828379ef55f (patch)
treea0eb5089cbe1e749474fc519e2961f6cc06d6bd3
parentc6b40783e83df5e93acef809d54899d8c351f942 (diff)
downloaddraksnapshot-62f7ab17c808bfa6aff68773b7687828379ef55f.tar
draksnapshot-62f7ab17c808bfa6aff68773b7687828379ef55f.tar.gz
draksnapshot-62f7ab17c808bfa6aff68773b7687828379ef55f.tar.bz2
draksnapshot-62f7ab17c808bfa6aff68773b7687828379ef55f.tar.xz
draksnapshot-62f7ab17c808bfa6aff68773b7687828379ef55f.zip
delay first check by 30s so that notification goes at the right place
git-svn-id: http://svn.mandriva.com/svn/soft/draksnapshot/trunk@246730 99302b65-d5f7-0310-b3dd-f8cd6f4e3d94
-rw-r--r--NEWS3
-rwxr-xr-xdraksnapshot-applet2
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 7764add..b5431de 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- delay first check by 30s so that notification goes at the right
+ place
+
Version 0.13 - 22 September 2008, Thierry Vignaud
- new icons
diff --git a/draksnapshot-applet b/draksnapshot-applet
index 35634f7..bbe1d66 100755
--- a/draksnapshot-applet
+++ b/draksnapshot-applet
@@ -118,7 +118,7 @@ shouldStart() or die "$localfile should be set to TRUE: please use --force or -f
go2State('okay');
gtkflush();
-firstCheck();
+Glib::Timeout->add(($::testing ? 1 : 30) * 1000, sub { firstCheck(); 0 });
$SIG{USR1} = 'IGNORE';