Changeset ad01b7c4 in sasview for guiframe/gui_manager.py
- Timestamp:
- Aug 5, 2011 1:20:40 PM (13 years ago)
- 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:
- 4206aa1
- Parents:
- 44429d0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/gui_manager.py
rbc7bc839 rad01b7c4 118 118 DATAPANEL_HEIGHT = config.DATAPANEL_HEIGHT 119 119 PLUGIN_STATE_EXTENSIONS = config.PLUGIN_STATE_EXTENSIONS 120 OPEN_SAVE_MENU = config.OPEN_SAVE_PROJECT_MENU 120 121 extension_list = [] 121 122 if APPLICATION_STATE_EXTENSION is not None: … … 1147 1148 style = self.__gui_style & GUIFRAME.DATALOADER_ON 1148 1149 style1 = self.__gui_style & GUIFRAME.MULTIPLE_APPLICATIONS 1149 1150 id = wx.NewId()1151 hint_load_file = "read all analysis states saved previously"1152 self._save_appl_menu = self._file_menu.Append(id,1153 '&Open Project', hint_load_file)1154 wx.EVT_MENU(self, id, self._on_open_state_project)1150 if OPEN_SAVE_MENU: 1151 id = wx.NewId() 1152 hint_load_file = "read all analysis states saved previously" 1153 self._save_appl_menu = self._file_menu.Append(id, 1154 '&Open Project', hint_load_file) 1155 wx.EVT_MENU(self, id, self._on_open_state_project) 1155 1156 1156 1157 if style1 == GUIFRAME.MULTIPLE_APPLICATIONS: … … 1162 1163 '&Open Analysis', hint_load_file) 1163 1164 wx.EVT_MENU(self, id, self._on_open_state_application) 1164 1165 self._file_menu.AppendSeparator()1166 id = wx.NewId()1167 self._file_menu.Append(id, '&Save Project',1168 'Save the state of the whole analysis')1169 wx.EVT_MENU(self, id, self._on_save_project)1165 if OPEN_SAVE_MENU: 1166 self._file_menu.AppendSeparator() 1167 id = wx.NewId() 1168 self._file_menu.Append(id, '&Save Project', 1169 'Save the state of the whole analysis') 1170 wx.EVT_MENU(self, id, self._on_save_project) 1170 1171 if style1 == GUIFRAME.MULTIPLE_APPLICATIONS: 1171 1172 #self._file_menu.AppendSeparator()
Note: See TracChangeset
for help on using the changeset viewer.