[GRASS-dev] Re: [GRASS GIS] #944: menudata.py: strip out & key shortcut hint

GRASS GIS trac at osgeo.org
Tue Feb 16 05:05:00 EST 2010


#944: menudata.py: strip out & key shortcut hint
---------------------+------------------------------------------------------
  Reporter:  hamish  |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect  |      Status:  new                      
  Priority:  normal  |   Milestone:  7.0.0                    
 Component:  wxGUI   |     Version:  svn-trunk                
Resolution:          |    Keywords:  menudata.py, synopsis    
  Platform:  All     |         Cpu:  All                      
---------------------+------------------------------------------------------
Comment (by glynn):

 Replying to [ticket:944 hamish]:

 > in source:grass/trunk/wxpython/gui_modules/menudata.py
 `__PrintCommandsItems` does not strip out "&" from the menu titles, so
 those keyboard shortcut hints get propagated into the output.

 Is there some reason why they should be stripped out?

 AFAIK, the "commands" option only exists as a convenience for developers.
 The only option which is actually used is "strings", which is used to
 generate menustrings.py (for translation).

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/944#comment:1>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list