- Timestamp:
- Aug 12, 2011 9:54:01 AM (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:
- 19aa896
- Parents:
- 584f474
- Location:
- sansview
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/scripts/local_config.py
r584f474 r1c7acc7 5 5 import os 6 6 from sans.guiframe.gui_style import GUIFRAME 7 import sans.perspectives.fitting as fitting8 7 # Version of the application 9 8 __appname__ = "SansView" … … 48 47 _copyright = "(c) 2009, University of Tennessee" 49 48 50 49 path, _= os.path.split(os.getcwd()) 50 icon_path = os.path.join(path, "images") 51 media_path = os.path.join(path, "media") 51 52 #edit the list of file state your plugin can read 52 53 APPLICATION_WLIST = 'SansView files (*.svs)|*.svs' … … 62 63 DATAPANEL_WIDTH = 235 63 64 DATAPANEL_HEIGHT = 700 64 SPLASH_SCREEN_PATH = os.path.join("images","SVwelcome_mini.png") 65 try: 66 fit_media_path = fitting.get_data_path(media='media') 67 TUTORIAL_PATH = os.path.join(fit_media_path,"Tutorial.pdf") 68 except: 69 raise 65 SPLASH_SCREEN_PATH = os.path.join(icon_path,"SVwelcome_mini.png") 66 TUTORIAL_PATH = os.path.join(media_path,"Tutorial.pdf") 70 67 DEFAULT_STYLE = GUIFRAME.MULTIPLE_APPLICATIONS|GUIFRAME.MANAGER_ON\ 71 68 |GUIFRAME.CALCULATOR_ON|GUIFRAME.TOOLBAR_ON … … 81 78 #EDIT MENU 82 79 EDIT_MENU = True 83 SetupIconFile_win = os.path.join("images", "ball.ico") 84 SetupIconFile_mac = os.path.join("images", "ball.icns") 80 81 SetupIconFile_win = os.path.join(icon_path, "ball.ico") 82 SetupIconFile_mac = os.path.join(icon_path, "ball.icns") 85 83 DefaultGroupName = "DANSE" 86 84 OutputBaseFilename = "setupSansView"
Note: See TracChangeset
for help on using the changeset viewer.