dabo Commit
Revision 3466
Date: 2007-10-13 15:55:10 -0700 (Sat, 13 Oct 2007)
Author: Ed
Trac: http://svn.dabodev.com/trac/dabo/changeset/3466

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

Log:
Updated the menu items to use the HotKey property.


Diff:
Modified: trunk/dabo/ui/uiwx/dShell.py
===================================================================
--- trunk/dabo/ui/uiwx/dShell.py        2007-10-12 18:40:01 UTC (rev 3465)
+++ trunk/dabo/ui/uiwx/dShell.py        2007-10-13 22:55:10 UTC (rev 3466)
@@ -280,16 +280,16 @@
                viewMenu = self.MenuBar.getMenu(_("View"))
                if viewMenu.Children:
                        viewMenu.appendSeparator()
-               viewMenu.append(_("Zoom &In\tCtrl+="), OnHit=self.onViewZoomIn, 
+               viewMenu.append(_("Zoom &In"), HotKey="Ctrl+=", 
OnHit=self.onViewZoomIn, 
                                bmp="zoomIn", help=_("Zoom In"))
-               viewMenu.append(_("&Normal Zoom\tCtrl+/"), 
OnHit=self.onViewZoomNormal, 
+               viewMenu.append(_("&Normal Zoom"), HotKey="Ctrl+/", 
OnHit=self.onViewZoomNormal, 
                                bmp="zoomNormal", help=_("Normal Zoom"))
-               viewMenu.append(_("Zoom &Out\tCtrl+-"), 
OnHit=self.onViewZoomOut, 
+               viewMenu.append(_("Zoom &Out"), HotKey="Ctrl+-", 
OnHit=self.onViewZoomOut, 
                                bmp="zoomOut", help=_("Zoom Out"))
                editMenu = self.MenuBar.getMenu(_("Edit"))
                if editMenu.Children:
                        editMenu.appendSeparator()
-               editMenu.append(_("Clear O&utput\tCtrl+Back"), 
+               editMenu.append(_("Clear O&utput"), HotKey="Ctrl+Back", 
                                OnHit=self.onClearOutput, help=_("Clear Output 
Window"))
                
                




_______________________________________________
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/dabo-dev/[EMAIL PROTECTED]

Reply via email to