dabo Commit
Revision 6148
Date: 2010-10-24 08:29:11 -0700 (Sun, 24 Oct 2010)
Author: Ed
Trac: http://trac.dabodev.com/changeset/6148

Changed:
U   trunk/dabo/ui/uiwx/dBaseMenuBar.py

Log:
Removed the code to try to "trick" the debug window menu item into displaying 
its checkbox correctly.

Changed the hotkey for Redo to 'Ctrl+Shift+Z' to remove the conflict with the 
Command Window history shortcut, and to keep it in line with 'Ctrl+Z' for Undo.


Diff:
Modified: trunk/dabo/ui/uiwx/dBaseMenuBar.py
===================================================================
--- trunk/dabo/ui/uiwx/dBaseMenuBar.py  2010-10-24 15:00:23 UTC (rev 6147)
+++ trunk/dabo/ui/uiwx/dBaseMenuBar.py  2010-10-24 15:29:11 UTC (rev 6148)
@@ -43,8 +43,6 @@
                                        OnHit=app.onDebugWin, 
ItemID="file_debugwin",
                                        help=_("Open up a debug output window"))
                        self.Parent.debugMenuItem.Checked = True
-                       dabo.ui.setAfterInterval(100, 
self.Parent.debugMenuItem, "Checked", True)
-                       dabo.ui.setAfterInterval(500, 
self.Parent.debugMenuItem, "Checked", False)
                        
                prmpt = _("Close Windo&w")
                self.Parent.closeWindowMenuItem = self.append(prmpt, 
HotKey="Ctrl+W", OnHit=app.onWinClose,
@@ -72,7 +70,7 @@
                                ItemID="edit_undo",
                                help=_("Undo last action"))
 
-               self.Parent.redoMenuItem = self.append(_("&Redo"), 
HotKey="Ctrl+R", OnHit=app.onEditRedo,
+               self.Parent.redoMenuItem = self.append(_("&Redo"), 
HotKey="Ctrl+Shift+Z", OnHit=app.onEditRedo,
                                bmp="%s/actions/edit-redo.png" % iconPath,
                                ItemID="edit_redo",
                                help=_("Undo last undo"))



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to