ui: print message when there is another Solaar process running

This commit is contained in:
Peter F. Patel-Schneider 2022-04-13 13:17:19 -04:00
parent e3bba623a4
commit 80c09002a8
1 changed files with 3 additions and 0 deletions

View File

@ -171,6 +171,9 @@ def run_loop(startup_hook, shutdown_hook, use_tray, show_window):
application.connect('activate', _activate)
application.connect('shutdown', _shutdown, shutdown_hook)
application.register()
if application.get_is_remote():
print(_('Another Solaar process is already running so just expose its window'))
application.run()