[Bug 38973] New: tpl_log_manager_exists() doesn't have a GDate argument

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jul 5 12:38:32 CEST 2011


https://bugs.freedesktop.org/show_bug.cgi?id=38973

           Summary: tpl_log_manager_exists() doesn't have a GDate argument
           Product: Telepathy
           Version: git master
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: logger
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: pochu27 at gmail.com
         QAContact: telepathy-bugs at lists.freedesktop.org


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

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list