From bcfb01bc7e8ee8703bcbb20a85903062930c07ae Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Fri, 6 May 2016 17:23:08 +0800 Subject: [PATCH] gui: set application name in Gnome task switcher Non-hacky suggestions welcome. --- artiq/frontend/artiq_browser.py | 2 +- artiq/frontend/artiq_dashboard.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/frontend/artiq_browser.py b/artiq/frontend/artiq_browser.py index 2fb75dbb4..4f4cb87e8 100755 --- a/artiq/frontend/artiq_browser.py +++ b/artiq/frontend/artiq_browser.py @@ -79,7 +79,7 @@ def main(): args = get_argparser().parse_args() init_logger(args) - app = QtWidgets.QApplication([]) + app = QtWidgets.QApplication(["ARTIQ Browser"]) loop = QEventLoop(app) asyncio.set_event_loop(loop) atexit.register(loop.close) diff --git a/artiq/frontend/artiq_dashboard.py b/artiq/frontend/artiq_dashboard.py index 20014b3fc..48aa15e43 100755 --- a/artiq/frontend/artiq_dashboard.py +++ b/artiq/frontend/artiq_dashboard.py @@ -87,7 +87,7 @@ def main(): args = get_argparser().parse_args() init_logger(args) - app = QtWidgets.QApplication([]) + app = QtWidgets.QApplication(["ARTIQ Dashboard"]) loop = QEventLoop(app) asyncio.set_event_loop(loop) atexit.register(loop.close)