diff options
author | Mike Kestner <mkestner@gmail.com> | 2009-06-17 21:12:28 +0400 |
---|---|---|
committer | Mike Kestner <mkestner@gmail.com> | 2009-06-17 21:12:28 +0400 |
commit | 7f31cc3a96498176e27d0150b0c727876e6dcc30 (patch) | |
tree | 8741492f31500affe0532b2814b97451c7cc95b5 | |
parent | 598ab49642f95fc460882e2d926e69623b81d38f (diff) |
2009-06-17 Mike Kestner <mkestner@novell.com>
* MainWindow.cs : add accelerators for stock menu items.
svn path=/trunk/mono-tools/; revision=136330
-rw-r--r-- | Mono.Profiler/mprof-gui/ChangeLog | 4 | ||||
-rw-r--r-- | Mono.Profiler/mprof-gui/MainWindow.cs | 6 | ||||
-rw-r--r-- | Mono.Profiler/mprof-gui/mprof-gui.csproj | 2 |
3 files changed, 8 insertions, 4 deletions
diff --git a/Mono.Profiler/mprof-gui/ChangeLog b/Mono.Profiler/mprof-gui/ChangeLog index fbfd1257..c0e9f412 100644 --- a/Mono.Profiler/mprof-gui/ChangeLog +++ b/Mono.Profiler/mprof-gui/ChangeLog @@ -1,3 +1,7 @@ +2009-06-17 Mike Kestner <mkestner@novell.com> + + * MainWindow.cs : add accelerators for stock menu items. + 2009-06-11 Mike Kestner <mkestner@novell.com> * gtk-gui/* : kill stetic stuff. project is simple enough to avoid it. diff --git a/Mono.Profiler/mprof-gui/MainWindow.cs b/Mono.Profiler/mprof-gui/MainWindow.cs index 665d0341..c75cd7e7 100644 --- a/Mono.Profiler/mprof-gui/MainWindow.cs +++ b/Mono.Profiler/mprof-gui/MainWindow.cs @@ -73,9 +73,9 @@ namespace Mono.Profiler.Gui { { ActionEntry[] actions = new ActionEntry[] { new ActionEntry ("ProfileMenu", null, Catalog.GetString ("_Profile"), null, null, null), - new ActionEntry ("NewAction", Stock.New, null, null, Catalog.GetString ("Create New Profile"), new EventHandler (OnNewActivated)), - new ActionEntry ("SaveAsAction", Stock.SaveAs, null, null, Catalog.GetString ("Save Profile Data"), new EventHandler (OnSaveAsActivated)), - new ActionEntry ("QuitAction", Stock.Quit, null, null, Catalog.GetString ("Quit Profiler"), new EventHandler (OnQuitActivated)), + new ActionEntry ("NewAction", Stock.New, null, "<control>N", Catalog.GetString ("Create New Profile"), new EventHandler (OnNewActivated)), + new ActionEntry ("SaveAsAction", Stock.SaveAs, null, "<control>C", Catalog.GetString ("Save Profile Data"), new EventHandler (OnSaveAsActivated)), + new ActionEntry ("QuitAction", Stock.Quit, null, "<control>Q", Catalog.GetString ("Quit Profiler"), new EventHandler (OnQuitActivated)), }; ActionGroup group = new ActionGroup ("group"); diff --git a/Mono.Profiler/mprof-gui/mprof-gui.csproj b/Mono.Profiler/mprof-gui/mprof-gui.csproj index e23a2c13..bdd5ba30 100644 --- a/Mono.Profiler/mprof-gui/mprof-gui.csproj +++ b/Mono.Profiler/mprof-gui/mprof-gui.csproj @@ -67,4 +67,4 @@ </Properties> </MonoDevelop> </ProjectExtensions> -</Project> +</Project>
\ No newline at end of file |