aboutsummaryrefslogtreecommitdiffstats
path: root/gpgwin.cpp
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-08-03 07:28:53 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-08-03 07:28:53 +0000
commit2615bcb97c94f7d045d934c766d63a4aea97f03a (patch)
tree3318e85b3204e05183025602f46de875e5a47916 /gpgwin.cpp
parentadded import from keyserver to keymgmt (diff)
downloadgpg4usb-2615bcb97c94f7d045d934c766d63a4aea97f03a.tar.gz
gpg4usb-2615bcb97c94f7d045d934c766d63a4aea97f03a.zip
css for verifynotification
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@508 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'gpgwin.cpp')
-rw-r--r--gpgwin.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/gpgwin.cpp b/gpgwin.cpp
index 8ff869c..226f71b 100644
--- a/gpgwin.cpp
+++ b/gpgwin.cpp
@@ -753,6 +753,7 @@ void GpgWin::verify()
qDebug() << "sign->fpr:" << sign->fpr;
verifyLabelText.append(" not present.");
*vn->keysNotInList << sign->fpr;
+ vn->setProperty("keyNotFound", true);
} else {
QString name = mKeyList->getKeyNameByFpr(sign->fpr);
QString email = "<"+mKeyList->getKeyEmailByFpr(sign->fpr)+">";
@@ -762,6 +763,7 @@ void GpgWin::verify()
verifyLabelText.append(name);
verifyLabelText.append(email);
verifyLabelText.append(gpg_strerror(sign->status));
+ vn->setProperty("keyFound", true);
}
verifyLabelText.append(".\n");
qDebug() << "sig summary: " << sign->summary;
@@ -775,7 +777,8 @@ void GpgWin::verify()
verifyLabelText.remove(verifyLabelText.length()-1,1);
vn->setVerifyLabel(verifyLabelText);
- edit->curPage()->showNotificationWidget(vn);
+ edit->curPage()->removeNoteByClass("verifyNotification");
+ edit->curPage()->showNotificationWidget(vn, "verifyNotification");
}
void GpgWin::importKeyDialog()