From 02faeae603a401f9a444a175054b1efd02445107 Mon Sep 17 00:00:00 2001 From: Daniel Gidman Date: Wed, 8 Dec 2021 13:31:14 -0600 Subject: [PATCH] Add support for Mac recent documents and clear recent documents commands on the Application Menu --- ElectronNET.API/Entities/MenuRole.cs | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/ElectronNET.API/Entities/MenuRole.cs b/ElectronNET.API/Entities/MenuRole.cs index 37f10090..3d49568c 100644 --- a/ElectronNET.API/Entities/MenuRole.cs +++ b/ElectronNET.API/Entities/MenuRole.cs @@ -158,6 +158,17 @@ public enum MenuRole /// /// Only macOS: The submenu is a “Services” menu /// - services + services, + + /// + /// Only macOS: the submenue for "Recent Documents" + /// + recentdocuments, + + /// + /// Only macOS: the menu to clear the recent document list + /// + clearrecentdocuments, + } } \ No newline at end of file