Added to display for attached pictures in Private Chat a default icon for the rs link.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3852 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-11-22 20:10:12 +00:00
parent 7c86a88a94
commit 0b9a5e5b2b
3 changed files with 8 additions and 0 deletions

View File

@ -988,6 +988,13 @@ void PopupChatDialog::fileHashingFinished(AttachFileItem* file)
message+="\" width=\"48\" height=\"48\">";
message+="<br>";
}
else if (ext == "jpg" || ext == "jpeg" || ext == "png" || ext == "gif" || ext == "bmp" || ext == "ico"
|| ext == "svg" || ext == "tif" || ext == "tiff" || ext == "JPG")
{
message+="<img src=\":/images/application-draw.png";
message+="\" width=\"48\" height=\"48\">";
message+="<br>";
}

View File

@ -5,6 +5,7 @@
<file>images/audio-x-monkey.png</file>
<file>images/video-x-generic.png</file>
<file>images/application-x-rar.png</file>
<file>images/application-draw.png</file>
<file>images/pgp.png</file>
<file>images/rs_wizard.png</file>
<file>images/about.png</file>

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB