Exemplo n.º 1
0
    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.")
Exemplo n.º 2
0
 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.")
Exemplo n.º 3
0
 def updateStatusBar(self, lv):
     self.statusBar.SetStatusText(
         '<=* ! *=>New Version ' + lv +
         ' is available. Upgrade is HIGHLY RECOMMENDED!')
     myGui.showUpdateDialog(lv)
Exemplo n.º 4
0
 def updateStatusBar(self,lv):
         self.statusBar.SetStatusText('<=* ! *=>New Version ' + lv + ' is available. Upgrade is HIGHLY RECOMMENDED!')
         myGui.showUpdateDialog(lv)