def _set_visible(self, active): StatusIcon._set_visible(self, active) self._tray.set_status(self._status_active if active else self._status_passive)