def onUpdate(self, event): lv = config.LATEST_VERSION if lv == None: # the html not get fetched yet updatechk = UpdateChecker(self, True) updatechk.start() elif lv > config.VERSION: myGui.showUpdateDialog(lv) else: myGui.showInfoDialog("Your passwd Manager is up to date.")
def onUpdate(self, event): lv = config.LATEST_VERSION if lv == None: # the html not get fetched yet updatechk = UpdateChecker(self,True) updatechk.start() elif lv>config.VERSION: myGui.showUpdateDialog(lv) else: myGui.showInfoDialog("Your passwd Manager is up to date.")
def updateStatusBar(self, lv): self.statusBar.SetStatusText( '<=* ! *=>New Version ' + lv + ' is available. Upgrade is HIGHLY RECOMMENDED!') myGui.showUpdateDialog(lv)
def updateStatusBar(self,lv): self.statusBar.SetStatusText('<=* ! *=>New Version ' + lv + ' is available. Upgrade is HIGHLY RECOMMENDED!') myGui.showUpdateDialog(lv)