added flag and icon for message that was successfuly decrypted

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6836 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2013-10-16 20:02:28 +00:00
parent 292bdfa324
commit cd43900eb9
7 changed files with 31 additions and 15 deletions

View file

@ -1222,7 +1222,12 @@ void MessagesDialog::insertMessages()
item[COLUMN_SIGNATURE]->setToolTip(tr("This message is encrypted. Right click to decrypt it.")) ;
item[COLUMN_SUBJECT]->setIcon(QIcon(":/images/mail-encrypted-full.png")) ;
}
else
else if(it->msgflags & RS_MSG_DECRYPTED)
{
item[COLUMN_SIGNATURE]->setIcon(QIcon(":/images/blue_lock_open.png")) ;
item[COLUMN_SIGNATURE]->setToolTip(tr("This message has been successfully decrypted, and is unsigned.")) ;
item[COLUMN_SUBJECT]->setIcon(QIcon(":/images/mail-decrypted-full.png")) ;
if(it->msgflags & RS_MSG_SIGNED)
if(it->msgflags & RS_MSG_SIGNATURE_CHECKS)
{
@ -1234,8 +1239,9 @@ void MessagesDialog::insertMessages()
item[COLUMN_SIGNATURE]->setIcon(QIcon(":/images/stock_signature_bad.png")) ;
item[COLUMN_SIGNATURE]->setToolTip(tr("This message was signed but the signature doesn't check")) ;
}
else
item[COLUMN_SIGNATURE]->setIcon(QIcon()) ;
}
else
item[COLUMN_SIGNATURE]->setIcon(QIcon()) ;
if (bInsert) {
/* add to the list */

View file

@ -5,6 +5,7 @@
<file>images/decrypt-mail.png</file>
<file>images/inbox_22.png</file>
<file>images/blue_lock.png</file>
<file>images/blue_lock_open.png</file>
<file>images/d-chat64.png</file>
<file>images/edit_24.png</file>
<file>images/stock_signature_bad.png</file>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB