Browse Source

Fix broken buid

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4144 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts^2
Sergej Andrejev 17 years ago
parent
commit
6da9813aa3
  1. 4
      src/Main/Base/Project/Src/Gui/Workbench/Layouts/AvalonPadContent.cs
  2. 4
      src/Main/Base/Project/Src/Gui/Workbench/Layouts/AvalonWorkbenchWindow.cs

4
src/Main/Base/Project/Src/Gui/Workbench/Layouts/AvalonPadContent.cs

@ -92,13 +92,13 @@ namespace ICSharpCode.SharpDevelop.Gui @@ -92,13 +92,13 @@ namespace ICSharpCode.SharpDevelop.Gui
CommandsRegistry.LoadContext(contextName, (UIElement)Content);
CommandsRegistry.RegisterCommandBindingsUpdateHandler(contextName, delegate {
var bindings = CommandsRegistry.GetCommandBindings(contextName);
var bindings = CommandsRegistry.GetCommandBindings(contextName, null, null);
CommandsRegistry.RemoveManagedCommandBindings(CommandBindings);
CommandBindings.AddRange(bindings);
});
CommandsRegistry.RegisterInputBindingUpdateHandler(contextName, delegate {
var bindings = CommandsRegistry.GetInputBindings(contextName);
var bindings = CommandsRegistry.GetInputBindings(contextName, null, null);
CommandsRegistry.RemoveManagedInputBindings(InputBindings);
InputBindings.AddRange(bindings);
});

4
src/Main/Base/Project/Src/Gui/Workbench/Layouts/AvalonWorkbenchWindow.cs

@ -102,7 +102,7 @@ namespace ICSharpCode.SharpDevelop.Gui @@ -102,7 +102,7 @@ namespace ICSharpCode.SharpDevelop.Gui
CommandsRegistry.RegisterCommandBindingsUpdateHandler(
contextName,
delegate {
var bindings = CommandsRegistry.GetCommandBindings(contextName);
var bindings = CommandsRegistry.GetCommandBindings(contextName, null, null);
CommandsRegistry.RemoveManagedCommandBindings(CommandBindings);
CommandBindings.AddRange(bindings);
});
@ -110,7 +110,7 @@ namespace ICSharpCode.SharpDevelop.Gui @@ -110,7 +110,7 @@ namespace ICSharpCode.SharpDevelop.Gui
CommandsRegistry.RegisterInputBindingUpdateHandler(
contextName,
delegate {
var bindings = CommandsRegistry.GetInputBindings(contextName);
var bindings = CommandsRegistry.GetInputBindings(contextName, null, null);
CommandsRegistry.RemoveManagedInputBindings(InputBindings);
InputBindings.AddRange(bindings);
});

Loading…
Cancel
Save