[Monodevelop-patches-list] r1402 - in trunk/MonoDevelop/src/Main/Base: . Commands
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Tue Apr 6 18:55:27 EDT 2004
Author: tberman
Date: 2004-04-06 18:55:27 -0400 (Tue, 06 Apr 2004)
New Revision: 1402
Modified:
trunk/MonoDevelop/src/Main/Base/ChangeLog
trunk/MonoDevelop/src/Main/Base/Commands/MenuItemBuilders.cs
Log:
use alt instead of control
Modified: trunk/MonoDevelop/src/Main/Base/ChangeLog
===================================================================
--- trunk/MonoDevelop/src/Main/Base/ChangeLog 2004-04-06 22:21:18 UTC (rev 1401)
+++ trunk/MonoDevelop/src/Main/Base/ChangeLog 2004-04-06 22:55:27 UTC (rev 1402)
@@ -1,5 +1,10 @@
2004-04-06 Todd Berman <tberman at sevenl.net>
+ * Commands/MenuItemBuilders.cs: change to use alt instead of control
+ for a more 'gnomey' feel.
+
+2004-04-06 Todd Berman <tberman at sevenl.net>
+
* Gui/Workbench/Layouts/SdiWorkspaceLayout.cs: update the menu
after a context switch.
* Gui/Components/SdMenu.cs: remove some junk.
Modified: trunk/MonoDevelop/src/Main/Base/Commands/MenuItemBuilders.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Commands/MenuItemBuilders.cs 2004-04-06 22:21:18 UTC (rev 1401)
+++ trunk/MonoDevelop/src/Main/Base/Commands/MenuItemBuilders.cs 2004-04-06 22:55:27 UTC (rev 1402)
@@ -215,10 +215,10 @@
if (i + 1 <= 9) {
string accel_path = "<MonoDevelop>/MainWindow/" + content.WorkbenchWindow.Title + (i + 1).ToString ();
if (!Gtk.Accel.MapLookupEntry (accel_path, new Gtk.AccelKey ())) {
- Gtk.Accel.MapAddEntry (accel_path, Gdk.Keyval.FromName ((i + 1).ToString ()), Gdk.ModifierType.ControlMask);
+ Gtk.Accel.MapAddEntry (accel_path, Gdk.Keyval.FromName ((i + 1).ToString ()), Gdk.ModifierType.Mod1Mask);
item.AccelPath = accel_path;
} else {
- Gtk.Accel.MapChangeEntry (accel_path, Gdk.Keyval.FromName ((i + 1).ToString()), Gdk.ModifierType.ControlMask, true);
+ Gtk.Accel.MapChangeEntry (accel_path, Gdk.Keyval.FromName ((i + 1).ToString()), Gdk.ModifierType.Mod1Mask, true);
item.AccelPath = accel_path;
}
}
More information about the Monodevelop-patches-list
mailing list