mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-23 13:54:27 -04:00
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:
parent
292bdfa324
commit
cd43900eb9
7 changed files with 31 additions and 15 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue