Changeset 493c90c in sasview for sansguiframe/src


Ignore:
Timestamp:
Dec 17, 2011 1:05:09 PM (13 years ago)
Author:
Jae Cho <jhjcho@…>
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:
74b5523
Parents:
5247084
Message:

copied custom_conf file to .sansview too.

Location:
sansguiframe/src/sans/guiframe
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • sansguiframe/src/sans/guiframe/gui_manager.py

    r4bab790 r493c90c  
    7777    import sans.guiframe.config as config           
    7878        
    79  
    80 custom_config = _find_local_config('custom_config', PATH_APP) 
     79from sans.guiframe.customdir  import SetupCustom 
     80c_conf_dir = SetupCustom().setup_dir(PATH_APP) 
     81custom_config = _find_local_config('custom_config', c_conf_dir) 
    8182if custom_config is None: 
    8283    custom_config = _find_local_config('custom_config', os.getcwd()) 
  • sansguiframe/src/sans/guiframe/startup_configuration.py

    rc994f8f r493c90c  
    1717from sans.guiframe.gui_style import GUIFRAME 
    1818from sans.guiframe import gui_manager as CURRENT 
     19from sans.guiframe.customdir  import SetupCustom 
    1920# default configuration 
    2021DEFAULT_STRINGS = {'GUIFRAME_WIDTH':1150, 
     
    6566        # parent 
    6667        self.parent = parent 
    67         self.path = parent.path 
     68        self.path = SetupCustom().find_dir() 
    6869        self._gui = gui 
    6970        # font size  
Note: See TracChangeset for help on using the changeset viewer.