Created attachment 2040 Patch to replace g_timeout_add to g_timeout_add_seconds Hello, g_timeout_add_seconds has been added in glib 2.14. The only difference when calling it instead of g_timeout_add, from the developer's point of view, is that the '*1000' in the interval goes away. From the user's point of view, though, the difference is more important: g_timeout_add_seconds, at the expense of a little bit of preciseness, rounds and groups wake-ups, which leads to less power consumption and better battery life on laptops. You can read more about this on http://www.lesswatts.org/documentation/silicon-power-mgmnt/ for example. The attached patch uses g_timeout_add_seconds when it's available (and defines a wrapper when it's not, to avoid multiple #if-#else-#endif blocks in the code), in the places where the delay is greater or equal to one second. Hope this helps!
looks good, thanks. Will implement this after 4.6 freeze.
Implemented to Orage 4.7.2 available in svn.
in 4.8.0