Changeset c329f4d in sasview for sansguiframe/src


Ignore:
Timestamp:
Aug 20, 2012 6:54:46 PM (12 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:
a338547
Parents:
5401f2a
Message:

changed sansview name to sansview (gui only)

File:
1 edited

Legend:

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

    r96277b9 rc329f4d  
    6060        return os.path.abspath(os.getcwd()) 
    6161     
    62     # Finally, try the directory of the sansview module 
    63     #TODO: gui_manager will have to know about sansview until we 
     62    # Finally, try the directory of the sasview module 
     63    #TODO: gui_manager will have to know about sasview until we 
    6464    # clean all these module variables and put them into a config class 
    65     # that can be passed by sansview.py. 
     65    # that can be passed by sasview.py. 
    6666    logging.info(sys.executable) 
    6767    logging.info(str(sys.argv)) 
    68     from sans import sansview 
    69     app_path = os.path.dirname(sansview.__file__) 
     68    from sans import sansview as sasview 
     69    app_path = os.path.dirname(sasview.__file__) 
    7070    logging.info("Using application path: %s", app_path) 
    7171    return app_path 
     
    7575        Returns the user's home directory 
    7676    """ 
    77     userdir = os.path.join(os.path.expanduser("~"),".sansview") 
     77    userdir = os.path.join(os.path.expanduser("~"),".sasview") 
    7878    if not os.path.isdir(userdir): 
    7979        os.makedirs(userdir) 
     
    21042104    def _on_save_project(self, event): 
    21052105        """ 
    2106         save the state of the SansView as *.svs 
     2106        save the state of the SasView as *.svs 
    21072107        """ 
    21082108        if self._current_perspective is  None: 
     
    21122112        extension = '*' + APPLICATION_STATE_EXTENSION 
    21132113        dlg = wx.FileDialog(self, "Save Project file", 
    2114                             self._default_save_location, "sansview_proj", 
     2114                            self._default_save_location, "sasview_proj", 
    21152115                             extension,  
    21162116                             wx.SAVE) 
     
    28432843                self._data_panel.set_active_perspective(name) 
    28442844                self._check_applications_menu() 
    2845             #Set the SansView title 
     2845            #Set the SasView title 
    28462846            self._set_title_name(name) 
    28472847           
     
    28492849    def _set_title_name(self, name): 
    28502850        """ 
    2851         Set the SansView title w/ the current application name 
     2851        Set the SasView title w/ the current application name 
    28522852         
    28532853        : param name: application name [string] 
Note: See TracChangeset for help on using the changeset viewer.