mimemap processing recentered in rclconfig. Handle directory-local suffix to mime-type definitions. Implement gaim log handling

This commit is contained in:
dockes
2005-11-21 14:31:24 +00:00
parent 64377c44d3
commit ad67a6cbb7
16 changed files with 192 additions and 152 deletions
+2 -3
View File
@@ -248,7 +248,7 @@ void RecollMain::reslistTE_doubleClicked(int par, int)
return;
// Look for appropriate viewer
string cmd = getMimeViewer(doc.mimetype, rclconfig->getMimeConf());
string cmd = rclconfig->getMimeViewerDef(doc.mimetype);
if (cmd.length() == 0) {
QMessageBox::warning(0, "Recoll",
tr("No external viewer configured for mime type ")
@@ -409,8 +409,7 @@ void RecollMain::listNextPB_clicked()
string img_name;
if (showicons) {
string iconname = getMimeIconName(doc.mimetype,
rclconfig->getMimeConf());
string iconname = rclconfig->getMimeIconName(doc.mimetype);
if (iconname.empty())
iconname = "document";
string imgfile = iconsdir + "/" + iconname + ".png";