diff --git a/src/kde/kioslave/recoll/htmlif.cpp b/src/kde/kioslave/recoll/htmlif.cpp
index c01a2c6a..478c54a7 100644
--- a/src/kde/kioslave/recoll/htmlif.cpp
+++ b/src/kde/kioslave/recoll/htmlif.cpp
@@ -1,5 +1,5 @@
#ifndef lint
-static char rcsid[] = "@(#$Id: htmlif.cpp,v 1.9 2008-12-08 17:43:32 dockes Exp $ (C) 2005 J.F.Dockes";
+static char rcsid[] = "@(#$Id: htmlif.cpp,v 1.10 2008-12-15 15:04:53 dockes Exp $ (C) 2005 J.F.Dockes";
#endif
/*
* This program is free software; you can redistribute it and/or modify
@@ -100,7 +100,7 @@ const string& RecollKioPager::parFormat()
"Preview " <<
"Open
" <<
"%T
"
- "%M %D %U
"
+ "%M %D %U %i
"
"%A %K";
return parformat = str.str();
}
@@ -250,8 +250,8 @@ void RecollProtocol::showPreview(const Rcl::Doc& doc)
o_rclconfig->setKeyDir(path_getfather(fn));
FileInterner interner(fn, &st, o_rclconfig, tmpdir, &doc.mimetype);
Rcl::Doc fdoc;
-
- if (!interner.internfile(fdoc, fdoc.ipath)) {
+ string ipath = doc.ipath;
+ if (!interner.internfile(fdoc, ipath)) {
wipedir(tmpdir);
rmdir(tmpdir.c_str());
error(KIO::ERR_SLAVE_DEFINED, "Cannot convert file to internal format");
diff --git a/src/query/reslistpager.cpp b/src/query/reslistpager.cpp
index 30cd57dd..8d110142 100644
--- a/src/query/reslistpager.cpp
+++ b/src/query/reslistpager.cpp
@@ -1,5 +1,5 @@
#ifndef lint
-static char rcsid[] = "@(#$Id: reslistpager.cpp,v 1.5 2008-12-04 11:49:59 dockes Exp $ (C) 2007 J.F.Dockes";
+static char rcsid[] = "@(#$Id: reslistpager.cpp,v 1.6 2008-12-15 15:04:53 dockes Exp $ (C) 2007 J.F.Dockes";
#endif
#include
@@ -247,6 +247,7 @@ void ResListPager::displayPage()
subs['A'] = !richabst.empty() ? richabst + "
" : "";
subs['D'] = datebuf;
subs['I'] = iconpath;
+ subs['i'] = doc.ipath;
subs['K'] = !doc.meta[Rcl::Doc::keykw].empty() ?
escapeHtml(doc.meta[Rcl::Doc::keykw]) + "
" : "";
subs['L'] = linksbuf;