MCPcopy Index your code
hub / github.com/Bitmessage/PyBitmessage / __icon_activated

Method __icon_activated

src/bitmessageqt/__init__.py:1576–1579  ·  view source on GitHub ↗
(self, reason)

Source from the content-addressed store, hash-verified

1574 # QtGui.QWidget.changeEvent(self, event)
1575
1576 def __icon_activated(self, reason):
1577 if reason == QtGui.QSystemTrayIcon.Trigger:
1578 self.actionShow.setChecked(not self.actionShow.isChecked())
1579 self.appIndicatorShowOrHideWindow()
1580
1581 # Indicates whether or not there is a connection to the Bitmessage network
1582 connected = False

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected