[Users] [Bug 2176] autochk_interval granularity is low

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Mon Jul 11 13:20:32 CEST 2016


http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=2176

--- Comment #6 from Ricardo Mones <mones at users.sourceforge.net> ---
(In reply to comment #4)
> Or just introduce new preference to store the value in seconds, and treat
> the current one as obsolete - prioritize its value (and convert to seconds)
> if it's found in config, but never write it to config.

To avoid leaving obsolete prefs behind, what about keeping current preference
but with a new format hh:mm:ss (string):

* on reading pref: 
 - if just a number is found it's assumed to be minutes (nobody has to touch
their configs) and converted to seconds internally
 - if hh:mm:ss is found, its converted to seconds

* on saving pref:
 - it's saved as hh:mm:ss from internal seconds value

This has a side effect of having also a human readable format in clawsrc :-)

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Users mailing list