Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#164 lxpanel clock polls for time every sec. even when it neednt

closed-duplicate
nobody
None
5
2010-01-01
2009-12-30
Anonymous
No

I configure my clock not to display seconds. Not because I weren't interested, but waking up the processor every second is cruel on power-saving. The best solution would be to detect whether second resolution is required for a given format string and if not, calculate the time remaining til the next minute, and set timer for that time (with g_timeout_add_seconds for the sake of timer grouping). If that is welcome but no one is willing to implement "that silly detail", I can try myself...

Discussion

  • martyj19
    martyj19
    2010-01-01

    • status: open --> closed-duplicate
     
  • martyj19
    martyj19
    2010-01-01

    Posted twice.