summaryrefslogtreecommitdiff
path: root/src/gmcerts.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-12-29 07:18:29 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-12-29 07:18:29 +0200
commite8f06bd0985ce2c9ac5ef02525672a426d559d18 (patch)
tree5617f7e65d81ae0b5bcf3c0c6a49711662e658f2 /src/gmcerts.c
parent336b9d7272ed8b1a9dccee27dec20e3377ee0c74 (diff)
Inline download context menu; macOS: Show in Finder
The inline downloads UI finally has some interactivity: left-clicking on a finished download opens it in the default viewer app, and right-clicking shows a context menu with relevant actions.
Diffstat (limited to 'src/gmcerts.c')
-rw-r--r--src/gmcerts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gmcerts.c b/src/gmcerts.c
index 8f7bf181..7b05103b 100644
--- a/src/gmcerts.c
+++ b/src/gmcerts.c
@@ -654,7 +654,7 @@ void importIdentity_GmCerts(iGmCerts *d, iTlsCertificate *cert, const iString *n
654} 654}
655 655
656static const char *certPath_GmCerts_(const iGmCerts *d, const iGmIdentity *identity) { 656static const char *certPath_GmCerts_(const iGmCerts *d, const iGmIdentity *identity) {
657 if (!(identity->flags & (temporary_GmIdentityFlag | imported_GmIdentityFlag))) { 657 if (!(identity->flags & temporary_GmIdentityFlag)) {
658 const char *finger = cstrCollect_String(hexEncode_Block(&identity->fingerprint)); 658 const char *finger = cstrCollect_String(hexEncode_Block(&identity->fingerprint));
659 return concatPath_CStr(cstr_String(&d->saveDir), format_CStr("idents/%s", finger)); 659 return concatPath_CStr(cstr_String(&d->saveDir), format_CStr("idents/%s", finger));
660 } 660 }