linux observer
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Replace quit with disabled "managed via systemctl" hint

The tray shouldn't kill the observer — it's a systemd service.
Quit item replaced with a grayed-out hint showing how the service
is managed.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

+5 -9
+5 -9
src/solstone_linux/tray.py
··· 307 307 about_copyright, 308 308 ] 309 309 310 - # ── Quit ── 311 - quit_item = MenuItem( 312 - label="quit solstone observer", 313 - callback=self._quit, 310 + # ── Service hint ── 311 + service_hint = MenuItem( 312 + label="managed via systemctl", 313 + enabled=False, 314 314 ) 315 315 316 316 # ── Assemble full menu ── ··· 325 325 settings_submenu, 326 326 about_submenu, 327 327 separator(), 328 - quit_item, 328 + service_hint, 329 329 ] 330 330 ) 331 331 ··· 526 526 ) 527 527 except Exception as e: 528 528 log.error(f"Failed to open URL: {e}") 529 - 530 - def _quit(self): 531 - log.info("Quit requested via tray") 532 - self._observer.running = False