diff options
author | Vsevolod Kukol <sevoku@microsoft.com> | 2019-07-18 16:28:41 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-18 16:28:41 +0300 |
commit | 27ef12c32950e2a9618e9a3c6c65bab94cf183b5 (patch) | |
tree | a15ffbdd94f22d835995f7de89711a2ecff7dfbf /main | |
parent | 919a2bc554be63f870f248f8c506a087173fa2fc (diff) | |
parent | 1eeed0d3c98a1b937ae72b5c4e59a8bf967c1b5b (diff) |
Merge pull request #8071 from mono/fix-936531
Change Key binding scheme for Visual Studio for Mac
Diffstat (limited to 'main')
-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; } } |