Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/guiframe/aboutbox.py

    re0f28e6 rd85c194  
    106106        self.bitmap_button_nist = wx.BitmapButton(self, -1, wx.NullBitmap) 
    107107        self.bitmap_button_umd = wx.BitmapButton(self, -1, wx.NullBitmap) 
    108         self.bitmap_button_ornl = wx.BitmapButton(self, -1, wx.NullBitmap) 
    109         #self.bitmap_button_sns = wx.BitmapButton(self, -1, wx.NullBitmap) 
     108        self.bitmap_button_sns = wx.BitmapButton(self, -1, wx.NullBitmap) 
    110109        #self.bitmap_button_nsf = wx.BitmapButton(self, -1, 
    111110        #                                         wx.NullBitmap) 
     
    116115        self.bitmap_button_ess = wx.BitmapButton(self, -1, wx.NullBitmap) 
    117116        self.bitmap_button_ill = wx.BitmapButton(self, -1, wx.NullBitmap) 
    118         self.bitmap_button_ansto = wx.BitmapButton(self, -1, wx.NullBitmap) 
    119117         
    120118        self.static_line_3 = wx.StaticLine(self, -1) 
     
    126124        self.Bind(wx.EVT_BUTTON, self.onNistLogo, self.bitmap_button_nist) 
    127125        self.Bind(wx.EVT_BUTTON, self.onUmdLogo, self.bitmap_button_umd) 
    128         #self.Bind(wx.EVT_BUTTON, self.onSnsLogo, self.bitmap_button_sns) 
    129         self.Bind(wx.EVT_BUTTON, self.onOrnlLogo, self.bitmap_button_ornl) 
     126        self.Bind(wx.EVT_BUTTON, self.onSnsLogo, self.bitmap_button_sns) 
    130127        #self.Bind(wx.EVT_BUTTON, self.onNsfLogo, self.bitmap_button_nsf) 
    131128        #self.Bind(wx.EVT_BUTTON, self.onDanseLogo, self.bitmap_button_danse) 
     
    134131        self.Bind(wx.EVT_BUTTON, self.onEssLogo, self.bitmap_button_ess) 
    135132        self.Bind(wx.EVT_BUTTON, self.onIllLogo, self.bitmap_button_ill) 
    136         self.Bind(wx.EVT_BUTTON, self.onAnstoLogo, self.bitmap_button_ansto) 
    137133        # end wxGlade 
    138134        # fill in acknowledgements 
     
    167163        self.bitmap_button_umd.SetBitmapLabel(logo) 
    168164 
    169         image = file_dir + "/images/ornl_logo.png" 
    170         if os.path.isfile(config._ornl_logo): 
    171             image = config._ornl_logo 
    172         logo = wx.Bitmap(image)         
    173         self.bitmap_button_ornl.SetBitmapLabel(logo) 
    174  
    175         """ 
     165         
    176166        image = file_dir + "/images/sns_logo.png" 
    177167        if os.path.isfile(config._sns_logo): 
     
    180170        self.bitmap_button_sns.SetBitmapLabel(logo) 
    181171         
     172        """ 
    182173        image = file_dir + "/images/nsf_logo.png" 
    183174        if os.path.isfile(config._nsf_logo): 
     
    215206        logo = wx.Bitmap(image) 
    216207        self.bitmap_button_ill.SetBitmapLabel(logo) 
    217          
    218         image = file_dir + "/images/ansto_logo.png" 
    219         if os.path.isfile(config._ansto_logo): 
    220             image = config._ansto_logo 
    221         logo = wx.Bitmap(image) 
    222         self.bitmap_button_ansto.SetBitmapLabel(logo) 
    223208                 
    224209        # resize dialog window to fit version number nicely 
     
    242227        self.bitmap_button_nist.SetSize(self.bitmap_button_nist.GetBestSize()) 
    243228        self.bitmap_button_umd.SetSize(self.bitmap_button_umd.GetBestSize()) 
    244         self.bitmap_button_ornl.SetSize(self.bitmap_button_ornl.GetBestSize()) 
    245         #self.bitmap_button_sns.SetSize(self.bitmap_button_sns.GetBestSize()) 
     229        self.bitmap_button_sns.SetSize(self.bitmap_button_sns.GetBestSize()) 
    246230        #self.bitmap_button_nsf.SetSize(self.bitmap_button_nsf.GetBestSize()) 
    247231        #self.bitmap_button_danse.SetSize(self.bitmap_button_danse.GetBestSize()) 
     
    250234        self.bitmap_button_ess.SetSize(self.bitmap_button_ess.GetBestSize()) 
    251235        self.bitmap_button_ill.SetSize(self.bitmap_button_ill.GetBestSize()) 
    252         self.bitmap_button_ansto.SetSize(self.bitmap_button_ansto.GetBestSize()) 
    253236        # end wxGlade 
    254237 
     
    302285        sizer_logos.Add(self.bitmap_button_nist, 0,  
    303286                        wx.LEFT|wx.ADJUST_MINSIZE, 2) 
    304         #sizer_logos.Add(self.bitmap_button_sns, 0,  
    305         #                wx.LEFT|wx.ADJUST_MINSIZE, 2) 
    306         sizer_logos.Add(self.bitmap_button_ornl, 0,  
     287        sizer_logos.Add(self.bitmap_button_sns, 0,  
    307288                        wx.LEFT|wx.ADJUST_MINSIZE, 2) 
    308289        sizer_logos.Add(self.bitmap_button_isis, 0,  
     
    311292                        wx.LEFT|wx.ADJUST_MINSIZE, 2) 
    312293        sizer_logos.Add(self.bitmap_button_ill, 0,  
    313                         wx.LEFT|wx.ADJUST_MINSIZE, 2) 
    314         sizer_logos.Add(self.bitmap_button_ansto, 0,  
    315294                        wx.LEFT|wx.ADJUST_MINSIZE, 2) 
    316295                 
     
    342321        event.Skip() 
    343322         
    344     def onOrnlLogo(self, event):  
    345         """ 
    346         """ 
    347         # wxGlade: DialogAbout.<event_handler> 
    348         launchBrowser(config._ornl_url) 
    349         event.Skip() 
    350          
    351323    def onSnsLogo(self, event):  
    352324        """ 
     
    396368        # wxGlade: DialogAbout.<event_handler> 
    397369        launchBrowser(config._ill_url) 
    398         event.Skip() 
    399  
    400     def onAnstoLogo(self, event): 
    401         """ 
    402         """  
    403         # wxGlade: DialogAbout.<event_handler> 
    404         launchBrowser(config._ansto_url) 
    405370        event.Skip() 
    406371 
Note: See TracChangeset for help on using the changeset viewer.