Changeset 83a0940 in sasview


Ignore:
Timestamp:
Aug 5, 2011 1:57:07 PM (13 years ago)
Author:
Jae Cho <jhjcho@…>
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:
99503cb
Parents:
4206aa1
Message:

added key for edit and view menu control

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • calculatorview/local_config.py

    rad01b7c4 r83a0940  
    7878#Open Save project menu 
    7979OPEN_SAVE_PROJECT_MENU = False 
     80#VIEW MENU 
     81VIEW_MENU = False 
     82#EDIT MENU 
     83EDIT_MENU = False 
    8084#Show or hide toolbar at the start up 
    8185TOOLBAR_SHOW = False 
  • guiframe/gui_manager.py

    rad01b7c4 r83a0940  
    119119PLUGIN_STATE_EXTENSIONS =  config.PLUGIN_STATE_EXTENSIONS 
    120120OPEN_SAVE_MENU = config.OPEN_SAVE_PROJECT_MENU 
     121VIEW_MENU = config.VIEMENU 
     122EDIT_MENU = config.EDITMENU 
    121123extension_list = [] 
    122124if APPLICATION_STATE_EXTENSION is not None: 
     
    973975        add menu items under view menu 
    974976        """ 
     977        if not VIEW_MENU: 
     978            return 
    975979        self._view_menu = wx.Menu() 
    976980        style = self.__gui_style & GUIFRAME.MANAGER_ON 
     
    11891193        add menu edit 
    11901194        """ 
     1195        if not EDIT_MENU: 
     1196            return 
    11911197        # Edit Menu 
    11921198        self._edit_menu = wx.Menu() 
  • prview/local_config.py

    r4206aa1 r83a0940  
    7777#Open Save project menu 
    7878OPEN_SAVE_PROJECT_MENU = True 
     79#VIEW MENU 
     80VIEW_MENU = True 
     81#EDIT MENU 
     82EDIT_MENU = True 
    7983# set a default perspective 
    8084DEFAULT_PERSPECTIVE = 'None' 
  • sansview/local_config.py

    rad01b7c4 r83a0940  
    7070WELCOME_PANEL_SHOW = False 
    7171CLEANUP_PLOT = False 
     72# OPEN and SAVE project menu 
    7273OPEN_SAVE_PROJECT_MENU = True 
     74#VIEW MENU 
     75VIEW_MENU = True 
     76#EDIT MENU 
     77EDIT_MENU = True 
    7378SetupIconFile_win = os.path.join("images", "ball.ico") 
    7479SetupIconFile_mac = os.path.join("images", "ball.icns") 
Note: See TracChangeset for help on using the changeset viewer.