Changeset 727a710 in sasview for sansguiframe/src/sans


Ignore:
Timestamp:
Oct 22, 2011 10:17:12 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:
db8590a
Parents:
6813da7d
Message:

fixed boxsum

File:
1 edited

Legend:

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

    re4d790f r727a710  
    161161CLOSE_SHOW = True 
    162162TIME_FACTOR = 1 
     163NOT_SO_GRAPH_LIST = ["BoxSum"] 
    163164if sys.platform.count("win32")==0: 
    164165    IS_WIN = False 
     
    996997        self.panels[str(ID)] = p 
    997998        self.graph_num += 1 
    998         windowcaption = 'Graph'#p.window_caption 
     999        if p.window_caption.split()[0] in NOT_SO_GRAPH_LIST: 
     1000            windowcaption = p.window_caption 
     1001        else: 
     1002            windowcaption = 'Graph'#p.window_caption 
    9991003        windowname = p.window_name 
    10001004        """ 
     
    10181022            if self.graph_num > 1000: 
    10191023                break 
    1020         p.window_caption = caption  
     1024        if p.window_caption.split()[0] not in NOT_SO_GRAPH_LIST: 
     1025            p.window_caption = caption  
    10211026        #p.window_caption = windowcaption+ str(self.graph_num) 
    10221027        p.window_name = windowname + str(self.graph_num) 
Note: See TracChangeset for help on using the changeset viewer.