Changeset 1c7acc7 in sasview for sansview


Ignore:
Timestamp:
Aug 12, 2011 9:54:01 AM (13 years ago)
Author:
Gervaise Alina <gervyh@…>
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
Message:

add media

Location:
sansview
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • sansview/scripts/local_config.py

    r584f474 r1c7acc7  
    55import os 
    66from sans.guiframe.gui_style import GUIFRAME 
    7 import sans.perspectives.fitting as fitting 
    87# Version of the application 
    98__appname__ = "SansView" 
     
    4847_copyright = "(c) 2009, University of Tennessee" 
    4948 
    50  
     49path, _= os.path.split(os.getcwd()) 
     50icon_path = os.path.join(path, "images") 
     51media_path = os.path.join(path, "media") 
    5152#edit the list of file state your plugin can read 
    5253APPLICATION_WLIST = 'SansView files (*.svs)|*.svs' 
     
    6263DATAPANEL_WIDTH = 235 
    6364DATAPANEL_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 
     65SPLASH_SCREEN_PATH = os.path.join(icon_path,"SVwelcome_mini.png") 
     66TUTORIAL_PATH = os.path.join(media_path,"Tutorial.pdf") 
    7067DEFAULT_STYLE = GUIFRAME.MULTIPLE_APPLICATIONS|GUIFRAME.MANAGER_ON\ 
    7168                    |GUIFRAME.CALCULATOR_ON|GUIFRAME.TOOLBAR_ON 
     
    8178#EDIT MENU 
    8279EDIT_MENU = True 
    83 SetupIconFile_win = os.path.join("images", "ball.ico") 
    84 SetupIconFile_mac = os.path.join("images", "ball.icns") 
     80 
     81SetupIconFile_win = os.path.join(icon_path, "ball.ico") 
     82SetupIconFile_mac = os.path.join(icon_path, "ball.icns") 
    8583DefaultGroupName = "DANSE" 
    8684OutputBaseFilename = "setupSansView" 
Note: See TracChangeset for help on using the changeset viewer.