def launchaccountmenu(self,theaccount):
     winSettings = Account_Settings("XinBox_EditAccountMenu.xml",self.srcpath,"DefaultSkin",0,scriptSettings=self.settings,language=self.language, title=self.title,account=theaccount)
     winSettings.doModal()
     account = winSettings.savedaccountname
     if account != "-":
         self.account = account
     del winSettings
     self.loadsettings()
     self.setupvars()
     self.setupcontrols()
Пример #2
0
 def launchcreatemenu(self):
     winSettings = Account_Settings("XinBox_EditAccountMenu.xml",self.srcpath,"DefaultSkin",0,scriptSettings=self.settings,language=self.lang, title=TITLE,account="")
     winSettings.doModal()
     self.loadsettings()
     del winSettings