diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-03-25 17:54:34 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-03-25 17:54:34 +0000 |
commit | b00195bb951b60c8a7837baceada8ea24507ddde (patch) | |
tree | 59800123833e0cce17ba1e24cd135761a6a37f8a | |
parent | cbfa0db5cd37c8675ef059fc25c7ad6bc7d57d96 (diff) | |
download | mgaonline-b00195bb951b60c8a7837baceada8ea24507ddde.tar mgaonline-b00195bb951b60c8a7837baceada8ea24507ddde.tar.gz mgaonline-b00195bb951b60c8a7837baceada8ea24507ddde.tar.bz2 mgaonline-b00195bb951b60c8a7837baceada8ea24507ddde.tar.xz mgaonline-b00195bb951b60c8a7837baceada8ea24507ddde.zip |
(configure) ensure update frenquency is at least 1 hour
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | mdkapplet-config | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -1,6 +1,7 @@ - mdkapplet-config o display update frenquency in hours o display intial delay in minutes + o ensure update frenquency is at least 1 hour Version 2.75 - 19 March 2009 diff --git a/mdkapplet-config b/mdkapplet-config index ab412b6e..756166f9 100755 --- a/mdkapplet-config +++ b/mdkapplet-config @@ -51,6 +51,9 @@ sub configure() { # convert from seconds to hours : $config{UPDATE_FREQUENCY} /= 3600; + # sanity check: + $config{UPDATE_FREQUENCY} = 1 if $config{UPDATE_FREQUENCY} < 1; + my $res = fill_n_run_portable_dialog( $w, |