Changeset d11d1aa in sasview


Ignore:
Timestamp:
Apr 9, 2014 6:55:03 AM (11 years ago)
Author:
Mathieu Doucet <doucetm@…>
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
6a4511d1
Parents:
3d6b00c
Message:

Fix menu order

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sans/guiframe/gui_manager.py

    r3d6b00c rd11d1aa  
    768768         
    769769        # Set up the menu 
    770         self._setup_menus() 
     770        self._add_menu_file() 
     771        self._add_menu_edit() 
     772        self._add_menu_view() 
     773        self._add_menu_application() 
     774        self._add_menu_tool() 
     775        self._add_current_plugin_menu() 
     776        self._add_help_menu() 
    771777         
    772778        try: 
     
    12101216         
    12111217        return captions 
    1212            
    1213     def _setup_menus(self): 
    1214         """ 
    1215         Set up the application menus 
    1216         """ 
    1217         # Menu 
    1218         self._add_menu_file() 
    1219         self._add_menu_edit() 
    1220         self._add_menu_view() 
    1221         #self._add_menu_data() 
    1222         self._add_menu_application() 
    1223         self._add_menu_tool() 
    1224         self._add_current_plugin_menu() 
    1225         #self._add_menu_window() 
    1226         self._add_help_menu() 
    12271218         
    12281219    def _setup_tool_bar(self): 
     
    12931284        Add available plug-in sub-menus.  
    12941285        """ 
    1295         if (self._menubar is None) or (self._current_perspective is None): 
     1286        if self._menubar is None or self._current_perspective is None \ 
     1287            or self._menubar.GetMenuCount()==0: 
    12961288            return 
    12971289        #replace or add a new menu for the current plugin 
Note: See TracChangeset for help on using the changeset viewer.