Commit b66c3692 authored by Rolf Eike Beer's avatar Rolf Eike Beer
Browse files

reenable "Import key(s) from keyserver"

svn path=/trunk/KDE/kdeutils/kgpg/; revision=786748
parent fca9cd08
......@@ -1217,10 +1217,13 @@ KeysManager::slotMenu(const QPoint &pos)
signUid->setEnabled(!(itype & ~(ITYPE_PAIR | ITYPE_UID | ITYPE_UAT)));
if (itype == ITYPE_SIGN) {
#ifdef __GNUC__
#warning port me
#endif
// importSignatureKey->setEnabled(allunksig);
bool allunksig = true;
for (int i = 0; (i < cnt) && allunksig; i++) {
KGpgSignNode *nd = static_cast<KGpgSignNode *>(ndlist.at(i));
allunksig = nd->isUnknown();
}
importSignatureKey->setEnabled(allunksig);
delSignKey->setEnabled( (cnt == 1) );
m_popupsig->exec(globpos);
} else if (itype == ITYPE_UID) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment