Changeset 765e47c in sasview
- Timestamp:
- May 5, 2015 9:37:50 AM (10 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:
- f22d219
- Parents:
- 3b67c30
- Location:
- src/sas
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/guiframe/gui_manager.py
r415fb82 r765e47c 1295 1295 return 1296 1296 #replace or add a new menu for the current plugin 1297 1298 1297 pos = self._menubar.FindMenu(str(self._applications_menu_name)) 1299 1298 if pos != -1: … … 1308 1307 #get the position of the menu when it first added 1309 1308 self._applications_menu_pos = pos 1310 1311 1309 else: 1312 1310 menu_list = self._current_perspective.populate_menu(self) … … 1314 1312 for (menu, name) in menu_list: 1315 1313 if self._applications_menu_pos == -1: 1316 self._menubar.Append(menu, name) 1314 # Find the Help position and insert just before it if possible 1315 help_pos = self._menubar.FindMenu("Help") 1316 if help_pos == -1: 1317 self._menubar.Append(menu, name) 1318 else: 1319 self._menubar.Insert(help_pos-1, menu, name) 1317 1320 else: 1318 self._menubar.Insert(self._applications_menu_pos, 1319 menu, name) 1321 self._menubar.Insert(self._applications_menu_pos, menu, name) 1320 1322 self._applications_menu_name = name 1321 1323 -
src/sas/perspectives/fitting/fitting.py
r373d4ee r765e47c 80 80 self.elapsed = 0.022 81 81 self.fit_panel = None 82 #Flag to let the plug-in know that it is running stand alone83 self.standalone = True84 82 ## dictionary of page closed and id 85 83 self.closed_page_dict = {}
Note: See TracChangeset
for help on using the changeset viewer.