Permalink
Browse files

Fixed naming of key event handlers in MainWindow

  • Loading branch information...
1 parent 476eb86 commit 280cd33c814ee7d09158493ab40b1b0958af6ae8 @don-mccomb don-mccomb committed Dec 1, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 Pinta/MainWindow.cs
View
@@ -82,16 +82,16 @@ 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);
PintaCore.Actions.View.ZoomToSelection.Activated += new EventHandler (ZoomToSelection_Activated);
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

0 comments on commit 280cd33

Please sign in to comment.