I want to make the 'What' (text, calls, ...) filters in the Empathy history window unsensitive when there are no events of that type, and tpl_log_manager_exists() comes handy here. The problem is that if the user selects 'Bob', and 'Yesterday' and you didn't have calls with Bob yesterday, but you have had today, then tpl_log_manager_exists() will return TRUE. I think we should add a tpl_log_manager_exists_for_date() that takes an additional GDate* argument. This would also be faster as we don't need to (potentially) walk the whole folder, but only test one file. FTR the Empathy bug is https://bugzilla.gnome.org/show_bug.cgi?id=653343
Actually we may not need this, see https://bugzilla.gnome.org/show_bug.cgi?id=653343#c6 I'll close this bug if we decide to keep the current behaviour in Empathy.
As it got merge in Empathy ...
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.