Changeset bd66af34 in sasview for sansview


Ignore:
Timestamp:
Jun 1, 2009 5:18:18 PM (15 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:
9f73a1d
Parents:
a88ac04
Message:

add a plugin for plash page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansview/sansview.py

    r1c8015f rbd66af34  
    55# For py2exe, import config here 
    66import local_config 
    7 import logging 
    87 
    98 
     
    2322        # modules. We load the fitting module here 
    2423        # to ensure a complete Windows executable build. 
    25  
     24         
    2625        # P(r) perspective 
    2726        try: 
     
    3231            logging.error("SansView: could not find P(r) plug-in module")  
    3332 
    34         # Fitting perspective 
     33                # Fitting perspective 
    3534        import perspectives.fitting as module     
    3635        fitting_plug = module.Plugin() 
     36        self.gui.add_perspective(fitting_plug) 
     37         
     38        #plash page perspective 
     39        import perspectives.splashinfo as module 
     40        fitting_plug =module.Plugin() 
    3741        self.gui.add_perspective(fitting_plug) 
    3842         
Note: See TracChangeset for help on using the changeset viewer.