From 3c63fd4aad97b87ab1f854e5304bbeee5fd76b7d Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Fri, 28 Aug 2020 20:49:01 +0300 Subject: macOS: Revealing files of an identity Finder is accessed via AppleScript. --- src/ui/sidebarwidget.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/ui') 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) return iTrue; } else if (isCommand_Widget(w, ev, "ident.reveal")) { + const iString *crtPath = + certificatePath_GmCerts(certs_App(), constHoverIdentity_SidebarWidget_(d)); + if (crtPath) { + revealPath_App(crtPath); + } return iTrue; } else if (equal_Command(cmd, "ident.delete")) { -- cgit v1.2.3