From 94325fa4188d6a63a13187236b80bf3945945d78 Mon Sep 17 00:00:00 2001 From: 0xd4d Date: Thu, 20 Aug 2020 10:58:55 +0200 Subject: [PATCH] Remove some menu items --- dnSpy/dnSpy/MainApp/AboutCommands.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dnSpy/dnSpy/MainApp/AboutCommands.cs b/dnSpy/dnSpy/MainApp/AboutCommands.cs index dd6f279cf3..2f076a1b6e 100644 --- a/dnSpy/dnSpy/MainApp/AboutCommands.cs +++ b/dnSpy/dnSpy/MainApp/AboutCommands.cs @@ -49,7 +49,7 @@ public override void Execute(IMenuItemContext context) => AboutHelpers.OpenWebPage(AboutHelpers.BASE_URL + @"releases", messageBoxService); } - [ExportMenuItem(OwnerGuid = MenuConstants.APP_MENU_HELP_GUID, Header = "res:About_LatestBuild", Group = MenuConstants.GROUP_APP_MENU_HELP_LINKS, Order = 10)] + //[ExportMenuItem(OwnerGuid = MenuConstants.APP_MENU_HELP_GUID, Header = "res:About_LatestBuild", Group = MenuConstants.GROUP_APP_MENU_HELP_LINKS, Order = 10)] sealed class OpenLatestBuildUrlCommand : MenuItemBase { readonly IMessageBoxService messageBoxService; @@ -60,7 +60,7 @@ public override void Execute(IMenuItemContext context) => AboutHelpers.OpenWebPage(AboutHelpers.BUILD_URL, messageBoxService); } - [ExportMenuItem(OwnerGuid = MenuConstants.APP_MENU_HELP_GUID, Header = "res:About_Issues", Group = MenuConstants.GROUP_APP_MENU_HELP_LINKS, Order = 20)] + //[ExportMenuItem(OwnerGuid = MenuConstants.APP_MENU_HELP_GUID, Header = "res:About_Issues", Group = MenuConstants.GROUP_APP_MENU_HELP_LINKS, Order = 20)] sealed class OpenIssuesUrlCommand : MenuItemBase { readonly IMessageBoxService messageBoxService; @@ -71,7 +71,7 @@ public override void Execute(IMenuItemContext context) => AboutHelpers.OpenWebPage(AboutHelpers.BASE_URL + @"issues", messageBoxService); } - [ExportMenuItem(OwnerGuid = MenuConstants.APP_MENU_HELP_GUID, Header = "res:About_Wiki", Group = MenuConstants.GROUP_APP_MENU_HELP_LINKS, Order = 30)] + //[ExportMenuItem(OwnerGuid = MenuConstants.APP_MENU_HELP_GUID, Header = "res:About_Wiki", Group = MenuConstants.GROUP_APP_MENU_HELP_LINKS, Order = 30)] sealed class OpenWikiUrlCommand : MenuItemBase { readonly IMessageBoxService messageBoxService; @@ -82,7 +82,7 @@ public override void Execute(IMenuItemContext context) => AboutHelpers.OpenWebPage(AboutHelpers.BASE_URL + @"wiki", messageBoxService); } - [ExportMenuItem(OwnerGuid = MenuConstants.APP_MENU_HELP_GUID, Header = "res:About_SourceCode", Group = MenuConstants.GROUP_APP_MENU_HELP_LINKS, Order = 40)] + //[ExportMenuItem(OwnerGuid = MenuConstants.APP_MENU_HELP_GUID, Header = "res:About_SourceCode", Group = MenuConstants.GROUP_APP_MENU_HELP_LINKS, Order = 40)] sealed class OpenSourceCodeUrlCommand : MenuItemBase { readonly IMessageBoxService messageBoxService;