summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/certlistwidget.c3
-rw-r--r--src/ui/documentwidget.c8
-rw-r--r--src/ui/mediaui.c6
3 files changed, 17 insertions, 0 deletions
diff --git a/src/ui/certlistwidget.c b/src/ui/certlistwidget.c
index 5a1c481b..2a7562d8 100644
--- a/src/ui/certlistwidget.c
+++ b/src/ui/certlistwidget.c
@@ -107,6 +107,9 @@ static void updateContextMenu_CertListWidget_(iCertListWidget *d) {
107#if defined (iPlatformAppleDesktop) 107#if defined (iPlatformAppleDesktop)
108 { magnifyingGlass_Icon " ${menu.reveal.macos}", 0, 0, "ident.reveal" }, 108 { magnifyingGlass_Icon " ${menu.reveal.macos}", 0, 0, "ident.reveal" },
109#endif 109#endif
110#if defined (iPlatformLinux)
111 { magnifyingGlass_Icon " ${menu.reveal.filemgr}", 0, 0, "ident.reveal" },
112#endif
110 { export_Icon " ${ident.export}", 0, 0, "ident.export" }, 113 { export_Icon " ${ident.export}", 0, 0, "ident.export" },
111 { "---", 0, 0, NULL }, 114 { "---", 0, 0, NULL },
112 { delete_Icon " " uiTextCaution_ColorEscape "${ident.delete}", 0, 0, "ident.delete confirm:1" }, 115 { delete_Icon " " uiTextCaution_ColorEscape "${ident.delete}", 0, 0, "ident.delete confirm:1" },
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c
index 2ea0a4b7..58e6a11e 100644
--- a/src/ui/documentwidget.c
+++ b/src/ui/documentwidget.c
@@ -5032,6 +5032,14 @@ static iBool processEvent_DocumentWidget_(iDocumentWidget *d, const SDL_Event *e
5032 format_CStr("!reveal url:%s", 5032 format_CStr("!reveal url:%s",
5033 cstr_String(linkUrl)) }); 5033 cstr_String(linkUrl)) });
5034#endif 5034#endif
5035#if defined (iPlatformLinux)
5036 pushBack_Array(&items,
5037 &(iMenuItem){ "${menu.reveal.filemgr}",
5038 0,
5039 0,
5040 format_CStr("!reveal url:%s",
5041 cstr_String(linkUrl)) });
5042#endif
5035 } 5043 }
5036 } 5044 }
5037 else if (!willUseProxy_App(scheme)) { 5045 else if (!willUseProxy_App(scheme)) {
diff --git a/src/ui/mediaui.c b/src/ui/mediaui.c
index ab88c94a..f0070688 100644
--- a/src/ui/mediaui.c
+++ b/src/ui/mediaui.c
@@ -269,6 +269,12 @@ iBool processEvent_DownloadUI(iDownloadUI *d, const SDL_Event *ev) {
269 0, 269 0,
270 format_CStr("!reveal path:%s", cstr_String(path)) }, 270 format_CStr("!reveal path:%s", cstr_String(path)) },
271#endif 271#endif
272#if defined (iPlatformLinux)
273 { "${menu.reveal.filemgr}",
274 0,
275 0,
276 format_CStr("!reveal path:%s", cstr_String(path)) },
277#endif
272 { "---" }, 278 { "---" },
273 /* Generic items */ 279 /* Generic items */
274 { "${menu.downloads}", 0, 0, "downloads.open newtab:1" }, 280 { "${menu.downloads}", 0, 0, "downloads.open newtab:1" },