update search extensions

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2328 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-02-15 14:52:47 +00:00
parent 8404963d73
commit 99b56b50dd
6 changed files with 6 additions and 0 deletions

View File

@ -1105,6 +1105,11 @@ void SearchDialog::setIconAndType(QTreeWidgetItem *item, QString &ext)
item->setIcon(SR_NAME_COL, QIcon(":/images/FileTypeDocument.png")); item->setIcon(SR_NAME_COL, QIcon(":/images/FileTypeDocument.png"));
item->setText(SR_TYPE_COL, QString::fromUtf8("Document")); item->setText(SR_TYPE_COL, QString::fromUtf8("Document"));
} }
else if (ext == "pdf" )
{
item->setIcon(SR_NAME_COL, QIcon(":/images/mimetypes/pdf.png"));
item->setText(SR_TYPE_COL, QString::fromUtf8("Document"));
}
else if (ext == "doc" || ext == "rtf" || ext == "sxw" || ext == "xls" || ext == "pps" || ext == "xml" || ext == "nfo" else if (ext == "doc" || ext == "rtf" || ext == "sxw" || ext == "xls" || ext == "pps" || ext == "xml" || ext == "nfo"
|| ext == "reg" || ext == "sxc" || ext == "odt" || ext == "ods" || ext == "dot" || ext == "ppt" || ext == "css" || ext == "crt" ) || ext == "reg" || ext == "sxc" || ext == "odt" || ext == "ods" || ext == "dot" || ext == "ppt" || ext == "css" || ext == "crt" )
{ {

View File

@ -339,6 +339,7 @@
<file>images/loader/16-loader.gif</file> <file>images/loader/16-loader.gif</file>
<file>images/loader/32-loader.gif</file> <file>images/loader/32-loader.gif</file>
<file>images/loader/progress.gif</file> <file>images/loader/progress.gif</file>
<file>images/mimetypes/pdf.png</file>
<file>images/textedit/textbold.png</file> <file>images/textedit/textbold.png</file>
<file>images/textedit/textitalic.png</file> <file>images/textedit/textitalic.png</file>
<file>images/textedit/textunder.png</file> <file>images/textedit/textunder.png</file>

Binary file not shown.

After

Width:  |  Height:  |  Size: 700 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 626 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 673 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 547 B