diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-28 20:49:01 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-28 20:49:01 +0300 |
commit | 3c63fd4aad97b87ab1f854e5304bbeee5fd76b7d (patch) | |
tree | 96b67aae75600c3f17bad7160c33a2cb7ea0a6ee /src/ui | |
parent | 48deb41856d599e78ddbfd4e9d5f3ad6ac5bb55b (diff) |
macOS: Revealing files of an identity
Finder is accessed via AppleScript.
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/sidebarwidget.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ui/sidebarwidget.c b/src/ui/sidebarwidget.c index 19886964..25fa3f6a 100644 --- a/src/ui/sidebarwidget.c +++ b/src/ui/sidebarwidget.c | |||
@@ -635,6 +635,11 @@ static iBool processEvent_SidebarWidget_(iSidebarWidget *d, const SDL_Event *ev) | |||
635 | return iTrue; | 635 | return iTrue; |
636 | } | 636 | } |
637 | else if (isCommand_Widget(w, ev, "ident.reveal")) { | 637 | else if (isCommand_Widget(w, ev, "ident.reveal")) { |
638 | const iString *crtPath = | ||
639 | certificatePath_GmCerts(certs_App(), constHoverIdentity_SidebarWidget_(d)); | ||
640 | if (crtPath) { | ||
641 | revealPath_App(crtPath); | ||
642 | } | ||
638 | return iTrue; | 643 | return iTrue; |
639 | } | 644 | } |
640 | else if (equal_Command(cmd, "ident.delete")) { | 645 | else if (equal_Command(cmd, "ident.delete")) { |