[robotframework-ride] push by janne.t.harkonen - Alternative shortcuts for back, forward on non Windowses, issue 354 on 2010-09-08 11:29 GMT

0 views
Skip to first unread message

robotfram...@googlecode.com

unread,
Sep 8, 2010, 7:30:33 AM9/8/10
to robotframewo...@googlegroups.com
Revision: bbce1134a8
Author: Janne Härkönen <j...@reaktor.fi>
Date: Wed Sep 8 04:29:28 2010
Log: Alternative shortcuts for back, forward on non Windowses, issue 354
http://code.google.com/p/robotframework-ride/source/detail?r=bbce1134a8

Modified:
/src/robotide/ui/tree.py

=======================================
--- /src/robotide/ui/tree.py Tue Sep 7 04:37:49 2010
+++ /src/robotide/ui/tree.py Wed Sep 8 04:29:28 2010
@@ -30,9 +30,10 @@

tree_actions ="""
[Navigate]
-!Go &Back | Go back to previous location in tree | Alt-Left | ART_GO_BACK
-!Go &Forward | Go forward to next location in tree | Alt-Right |
ART_GO_FORWARD
-"""
+!Go &Back | Go back to previous location in tree | Alt-%s | ART_GO_BACK
+!Go &Forward | Go forward to next location in tree | Alt-%s |
ART_GO_FORWARD
+""" % (('Left', 'Right') if IS_WINDOWS else ('Z', 'X'))
+# Left and right cannot be overridden in tree on non Windows OSses, issue
354


class Tree(treemixin.DragAndDrop, wx.TreeCtrl, utils.RideEventHandler):
Reply all
Reply to author
Forward
0 new messages