Changeset c994f8f in sasview for sansguiframe/src/sans/guiframe/gui_manager.py
- Timestamp:
- Sep 5, 2011 9:43:17 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:
- d72ef56
- Parents:
- 902f373
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansguiframe/src/sans/guiframe/gui_manager.py
r53cf669 rc994f8f 83 83 # Didn't find local config, load the default 84 84 import sans.guiframe.config as config 85 custom_config = None 85 86 try: 86 87 path = PATH_APP … … 118 119 DEFAULT_PERSPECTIVE = custom_config.DEFAULT_PERSPECTIVE 119 120 CLEANUP_PLOT = custom_config.CLEANUP_PLOT 121 # custom open_path 122 open_folder = custom_config.DEFAULT_OPEN_FOLDER 123 if open_folder != None and os.path.isdir(open_folder): 124 DEFAULT_OPEN_FOLDER = os.path.abspath(open_folder) 125 else: 126 DEFAULT_OPEN_FOLDER = PATH_APP 120 127 except: 128 raise 121 129 DATALOADER_SHOW = True 122 130 TOOLBAR_SHOW = True … … 129 137 DEFAULT_PERSPECTIVE = None 130 138 CLEANUP_PLOT = False 139 DEFAULT_OPEN_FOLDER = PATH_APP 131 140 132 141 DEFAULT_STYLE = config.DEFAULT_STYLE … … 238 247 239 248 # Default locations 240 self._default_save_location = os.getcwd() 241 249 self._default_save_location = DEFAULT_OPEN_FOLDER 242 250 # Welcome panel 243 251 self.defaultPanel = None … … 1564 1572 error_message += str(sys.exc_value) + "\n" 1565 1573 print error_message 1566 1574 print "_default_save_location", self._default_save_location 1567 1575 def load_folder(self, path): 1568 1576 """
Note: See TracChangeset
for help on using the changeset viewer.