MCPcopy Index your code
hub / github.com/HelloZeroNet/ZeroNet / titleAutorun

Method titleAutorun

plugins/Trayicon/TrayiconPlugin.py:158–163  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

156 return os.path.isfile(path) and open(path).read() == self.formatAutorun()
157
158 def titleAutorun(self):
159 translate = _["Start ZeroNet when Windows starts"]
160 if self.isAutorunEnabled():
161 return "+" + translate
162 else:
163 return translate
164
165 def toggleAutorun(self):
166 if self.isAutorunEnabled():

Callers

nothing calls this directly

Calls 1

isAutorunEnabledMethod · 0.95

Tested by

no test coverage detected