Update of /cvsroot/gaim/gaim/plugins
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7131
Modified Files:
log_reader.c
Log Message:
I didn't look through the rest of this, and the .adiumLog == plaintext assumption will have to be changed since that's likely to be the extension of the XML-based Adium logs (it hasn't been used by Adium in any public release so can probably just be nixed)...
but .AdiumHTMLLog is the extension used by the HTML-based Adium logs in Adium 1.0svn.
Index: log_reader.c
===================================================================
RCS file: /cvsroot/gaim/gaim/plugins/log_reader.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -p -r1.8 -r1.9
--- log_reader.c 2 Mar 2006 16:16:13 -0000 1.8
+++ log_reader.c 2 Mar 2006 21:15:57 -0000 1.9
@@ -98,7 +98,7 @@ static GList *adium_logger_list(GaimLogT
while ((file = g_dir_read_name(dir))) {
if (!g_str_has_prefix(file, sn))
continue;
- if (g_str_has_suffix(file, ".html")) {
+ if (g_str_has_suffix(file, ".html") || g_str_has_suffix(file, ".AdiumHTMLLog")) {
struct tm tm;
const char *date = file;
|