Changeset 3bc6090 in sasview for sansview/welcome_panel.py


Ignore:
Timestamp:
Sep 9, 2011 7:00:17 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:
fe4224b
Parents:
73197d0
Message:

uses build number and date for build sansview in welcome and about

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansview/welcome_panel.py

    rd4c19e5 r3bc6090  
    115115        revision = verwords[-1] 
    116116        self.label_title = wx.StaticText(self, -1, config.__appname__+ " "+str(config.__version__))#(version)) 
    117         self.label_build = wx.StaticText(self, -1, "Build: "+str(config.__version__)) 
     117        try: 
     118            build_num = str(config.__build__) 
     119        except: 
     120            build_num = str(config.__version__) 
     121        self.label_build = wx.StaticText(self, -1, "Build: " + build_num) 
    118122      
    119123        sizer_main = wx.BoxSizer(wx.VERTICAL) 
Note: See TracChangeset for help on using the changeset viewer.