[PATCH] revert button in time preflet + bugfix
|Reported by:||stpere||Owned by:||stippi|
|Component:||Preferences/Time & Date||Version:||R1/pre-alpha1|
- I've added a revert button in Time preflet.
Pressing Revert returns to the date time that was active at the time the preflet started + the uptime of the preflet. The uptime is incremented every time there is a clock tick, I'm pretty sure it's a bad way to do it. Suggestions are welcome -- like if there was a uptime() method or something, that would be perfect ;-)
Changing timezones shouldn't affect the revert functionality.
- I have also fixed a bug where clicking multiple times on an already selected radio button (local time or gmt) would not toggle it graphically but would still toggle logically (the time changed..) I've fixed that bad behaviour.