[Bug 27270] TplLogManager: clean up API
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon May 31 12:30:23 CEST 2010
https://bugs.freedesktop.org/show_bug.cgi?id=27270
--- Comment #6 from Guillaume Desmottes <guillaume.desmottes at collabora.co.uk> 2010-05-31 03:30:23 PDT ---
For the record, Empathy uses:
- tpl_log_manager_get_filtered_messages_{async,finish} in empathy-chat to
retrieve the 5 last messages (backlog) when opening a new chat. It passed a
filter function checking if the message is already in the pending messages of
the chat.
- tpl_log_manager_exists() in empathy-contact-menu to check if the "View
previous conversation" menu entry should be sensitive or not.
- tpl_log_manager_get_messages_for_date_{async,finish} in log-window when
searching all the conversations with a specific contact at a specific date.
- tpl_log_manager_search_new_{async,finish} in log-window when searching for a
pattern in all the conversations. Once it got the result it uses
tpl_log_manager_get_date_readable() and
tpl_log_manager_search_free() on the results.
- tpl_log_manager_get_chats_{async,finish} in log-window to fetch the list of
(chat_id, account, chatroom) having logs. They are displayed in a treeview in
the "Conversations" tab.
- tpl_log_manager_get_dates_{async,finish} in log-window to mark on the
calendar the dates containing logs.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the telepathy-bugs
mailing list