[Mumps2Py:] [26] moved Parse All to the top of the Parse menu. |
[ Thread Index |
Date Index
| More lists.mumps2py.org/discuss Archives
]
Revision: 26
Author: pgallot
Date: 2008-01-18 20:54:37 +0000 (Fri, 18 Jan 2008)
Log Message:
-----------
moved Parse All to the top of the Parse menu.
Modified Paths:
--------------
trunk/mumps2py_ui.pyw
Modified: trunk/mumps2py_ui.pyw
===================================================================
--- trunk/mumps2py_ui.pyw 2008-01-18 19:36:07 UTC (rev 25)
+++ trunk/mumps2py_ui.pyw 2008-01-18 20:54:37 UTC (rev 26)
@@ -316,10 +316,13 @@
parse_btn.pack(side = LEFT, padx = "2m")
parse_btn.menu = Menu(parse_btn)
+ parse_btn.menu.add_command( label = "Parse All", \
+ underline = 6, \
+ command = (lambda s = self: s.parse_all()))
parse_btn.menu.add_command( label = "Analyze tokens", \
underline = 1, \
- command = (lambda s = self: s.parse_analyze_tokens()))
-
+ command = (lambda s = self: \
+ s.parse_analyze_tokens()))
parse_btn.menu.add_command( label = "Parse From...", \
underline = 6, \
command = (lambda s = self: s.parse_from()))
@@ -329,9 +332,6 @@
parse_btn.menu.add_command( label = "Parse Module...", \
underline = 6, \
command = (lambda s = self: s.parse_module()))
- parse_btn.menu.add_command( label = "Parse All", \
- underline = 6, \
- command = (lambda s = self: s.parse_all()))
parse_btn['menu'] = parse_btn.menu
menu_bar.tk_menuBar(parse_btn)