Changeset a88ac04 in sasview for guiframe


Ignore:
Timestamp:
Jun 1, 2009 3:15:35 PM (16 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:
bd66af34
Parents:
91128648
Message:

add splash page as a plugin to move it at the top level

File:
1 edited

Legend:

Unmodified
Added
Removed
  • guiframe/gui_manager.py

    r8068b52 ra88ac04  
    211211        ## Find plug-ins 
    212212        # Modify this so that we can specify the directory to look into 
    213         self.plugins = self._find_plugins() 
     213        self.plugins =[] 
    214214        self.plugins.append(plotting.Plugin()) 
    215  
     215        self.plugins += self._find_plugins() 
     216       
    216217        ## List of panels 
    217218        self.panels = {} 
     
    309310        try: 
    310311            list = os.listdir(dir) 
    311             for item in reversed(list): 
     312            ## the default panel is the panel is the last plugin added 
     313            for item in list: 
    312314                toks = os.path.splitext(os.path.basename(item)) 
    313315                name = None 
Note: See TracChangeset for help on using the changeset viewer.