Mercurial > pidgin.yaz
diff src/gtklog.c @ 8898:de87e510ff9a
[gaim-migrate @ 9667]
This makes the history plugin work in chats and not just conversations.
To do this I had to change some functions in log.c to pass around the
GaimLogType (GAIM_LOG_IM, GAIM_LOG_CHAT, or GAIM_LOG_SYSTEM). I hope
that's not a problem...
Here's how I see it:
When creating a new GaimLog you need 3 things, the type, your account
and the name of the other person/chat.
It only makes sense that you would need those same 3 things to find a
log. Or to calculate log size.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 07 May 2004 02:30:02 +0000 |
parents | 599d6ac9bbfe |
children | 230cf4032e3d |
line wrap: on
line diff
--- a/src/gtklog.c Thu May 06 23:56:52 2004 +0000 +++ b/src/gtklog.c Fri May 07 02:30:02 2004 +0000 @@ -252,7 +252,7 @@ } lv = g_new0(GaimGtkLogViewer, 1); - lv->logs = logs = gaim_log_get_logs(screenname, account); + lv->logs = logs = gaim_log_get_logs(GAIM_LOG_IM, screenname, account); g_hash_table_insert(log_viewers, ht, lv); /* Window ***********/