From 0b9a5e5b2b068f93e6b7769d0fbe4265db7b7515 Mon Sep 17 00:00:00 2001 From: defnax Date: Mon, 22 Nov 2010 20:10:12 +0000 Subject: [PATCH] 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 --- retroshare-gui/src/gui/chat/PopupChatDialog.cpp | 7 +++++++ retroshare-gui/src/gui/images.qrc | 1 + .../src/gui/images/application-draw.png | Bin 0 -> 2729 bytes 3 files changed, 8 insertions(+) create mode 100644 retroshare-gui/src/gui/images/application-draw.png diff --git a/retroshare-gui/src/gui/chat/PopupChatDialog.cpp b/retroshare-gui/src/gui/chat/PopupChatDialog.cpp index fe9e9ca88..c41cd899c 100644 --- a/retroshare-gui/src/gui/chat/PopupChatDialog.cpp +++ b/retroshare-gui/src/gui/chat/PopupChatDialog.cpp @@ -988,6 +988,13 @@ void PopupChatDialog::fileHashingFinished(AttachFileItem* file) message+="\" width=\"48\" height=\"48\">"; message+="
"; } + else if (ext == "jpg" || ext == "jpeg" || ext == "png" || ext == "gif" || ext == "bmp" || ext == "ico" + || ext == "svg" || ext == "tif" || ext == "tiff" || ext == "JPG") + { + message+=""; + message+="
"; + } diff --git a/retroshare-gui/src/gui/images.qrc b/retroshare-gui/src/gui/images.qrc index 67a64f138..c0c6027a7 100644 --- a/retroshare-gui/src/gui/images.qrc +++ b/retroshare-gui/src/gui/images.qrc @@ -5,6 +5,7 @@ images/audio-x-monkey.png images/video-x-generic.png images/application-x-rar.png + images/application-draw.png images/pgp.png images/rs_wizard.png images/about.png diff --git a/retroshare-gui/src/gui/images/application-draw.png b/retroshare-gui/src/gui/images/application-draw.png new file mode 100644 index 0000000000000000000000000000000000000000..bbe1180e18ef74728e43fe5597866a98326eed85 GIT binary patch literal 2729 zcmV;a3Rd-rP)P%Q>2{P)hMtMglhs+%Ry%z*iWZNr)VL z1yGYlr#D805EAfB7!qIh_yHTpDy7_f1_D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