diff options
author | Javier Suárez Ruiz <javiersuarezruiz@hotmail.com> | 2019-06-28 14:06:06 +0300 |
---|---|---|
committer | Vsevolod Kukol <sevoku@microsoft.com> | 2019-07-17 15:48:01 +0300 |
commit | 1eeed0d3c98a1b937ae72b5c4e59a8bf967c1b5b (patch) | |
tree | 3b3b37de605158ec79bbc2f0e80200ea59738211 | |
parent | 139bdca5adec8f471638ef48418e6bf872888987 (diff) |
Fixes VSTS #936531 - Key binding scheme for Visual Studio for Mac should be "Visual Studio for Mac" rather than "Visual Studio"
-rw-r--r-- | main/src/core/MonoDevelop.Core/MonoDevelop.Core/BrandingService.cs | 3 | ||||
-rw-r--r-- | main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/KeyBindingService.cs | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/main/src/core/MonoDevelop.Core/MonoDevelop.Core/BrandingService.cs b/main/src/core/MonoDevelop.Core/MonoDevelop.Core/BrandingService.cs index eef4a69656..2586174c75 100644 --- a/main/src/core/MonoDevelop.Core/MonoDevelop.Core/BrandingService.cs +++ b/main/src/core/MonoDevelop.Core/MonoDevelop.Core/BrandingService.cs @@ -79,7 +79,7 @@ namespace MonoDevelop.Core } } } - + public static string DefaultKeybindingSchemeName { get; set; } public static string PrivacyStatement { get; set; } public static string PrivacyStatementUrl { get; set; } public static string LicenseTermsUrl { get; set; } @@ -114,6 +114,7 @@ namespace MonoDevelop.Core } ApplicationName = GetString ("ApplicationName"); ApplicationLongName = GetString ("ApplicationLongName") ?? ApplicationName; + DefaultKeybindingSchemeName = GetString ("DefaultKeybindingSchemeName") ?? ApplicationName; SuiteName = GetString ("SuiteName"); ProfileDirectoryName = GetString ("ProfileDirectoryName"); StatusSteadyIconId = GetString ("StatusAreaSteadyIcon"); diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/KeyBindingService.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/KeyBindingService.cs index 02c0110e5c..2c411346b0 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/KeyBindingService.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/KeyBindingService.cs @@ -211,8 +211,7 @@ namespace MonoDevelop.Components.Commands get { if (BrandingService.ApplicationName == "MonoDevelop") return AddinManager.CurrentLocalizer.GetString ("Default"); - else - return BrandingService.ApplicationName; + return BrandingService.DefaultKeybindingSchemeName; } } |