Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed naming of key event handlers in MainWindow

  • Loading branch information...
commit 280cd33c814ee7d09158493ab40b1b0958af6ae8 1 parent 476eb86
@don-mccomb don-mccomb authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 Pinta/MainWindow.cs
View
8 Pinta/MainWindow.cs
@@ -82,8 +82,8 @@ public MainWindow ()
window_shell.DeleteEvent += MainWindow_DeleteEvent;
window_shell.DragDataReceived += MainWindow_DragDataReceived;
- window_shell.KeyPressEvent += HandleWindowShellKeyPressEvent;
- window_shell.KeyReleaseEvent += HandleWindow_shellKeyReleaseEvent;
+ window_shell.KeyPressEvent += MainWindow_KeyPressEvent;
+ window_shell.KeyReleaseEvent += MainWindow_KeyReleaseEvent;
// TODO: These need to be [re]moved when we redo zoom support
PintaCore.Actions.View.ZoomToWindow.Activated += new EventHandler (ZoomToWindow_Activated);
@@ -91,7 +91,7 @@ public MainWindow ()
PintaCore.Workspace.ActiveDocumentChanged += ActiveDocumentChanged;
}
- void HandleWindowShellKeyPressEvent (object o, KeyPressEventArgs e)
+ void MainWindow_KeyPressEvent (object o, KeyPressEventArgs e)
{
// Give the Canvas (and by extension the tools)
// first shot at handling the event if
@@ -102,7 +102,7 @@ void HandleWindowShellKeyPressEvent (object o, KeyPressEventArgs e)
}
}
- void HandleWindow_shellKeyReleaseEvent (object o, KeyReleaseEventArgs e)
+ void MainWindow_KeyReleaseEvent (object o, KeyReleaseEventArgs e)
{
// Give the Canvas (and by extension the tools)
// first shot at handling the event if
Please sign in to comment.
Something went wrong with that request. Please try again.