MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / updateEsiMenus

Method updateEsiMenus

gui/mainFrame.py:667–674  ·  view source on GitHub ↗
(self, type)

Source from the content-addressed store, hash-verified

665 menu.Enable(menu.exportToEveId, True)
666
667 def updateEsiMenus(self, type):
668 menu = self.GetMenuBar()
669 sEsi = Esi.getInstance()
670
671 menu.SetLabel(menu.ssoLoginId, _t("Manage Characters"))
672 enable = len(sEsi.getSsoCharacters()) == 0
673 menu.Enable(menu.eveFittingsId, not enable)
674 menu.Enable(menu.exportToEveId, not enable)
675
676 def ssoHandler(self, event):
677 SsoCharacterMgmt.openOne(parent=self)

Callers

nothing calls this directly

Calls 4

SetLabelMethod · 0.80
getSsoCharactersMethod · 0.80
_tFunction · 0.50
getInstanceMethod · 0.45

Tested by

no test coverage detected