- Timestamp:
- Jul 18, 2008 10:17:26 AM (16 years ago)
- 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:
- 202f93a
- Parents:
- df58d26f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/gui_manager.py
r4102709 r75b40ce 236 236 237 237 self.Fit() 238 239 #self._check_update(None) 238 240 239 241 def _setup_layout(self): … … 630 632 update_available = False 631 633 for i in range(len(toks)): 632 if int(toks[i])>int(toks_current[i]): 633 update_available = True 634 if len(toks[i].strip())>0: 635 if int(toks[i].strip())>int(toks_current[i]): 636 update_available = True 634 637 if update_available: 635 638 #print "Version %s is available" % line.rstrip().lstrip() … … 639 642 webbrowser.open(config.__download_page__) 640 643 else: 641 self.SetStatusText("You have the latest version of %s" % config.__appname__)642 #print "Server version = %s" % line.rstrip().lstrip()644 if event != None: 645 self.SetStatusText("You have the latest version of %s" % config.__appname__) 643 646 except: 644 self.SetStatusText("You have the latest version of %s" % config.__appname__) 647 if event != None: 648 self.SetStatusText("You have the latest version of %s" % config.__appname__) 645 649 646 650
Note: See TracChangeset
for help on using the changeset viewer.