gui: set application name in Gnome task switcher

Non-hacky suggestions welcome.
This commit is contained in:
Sebastien Bourdeauducq 2016-05-06 17:23:08 +08:00
parent 597d7c389e
commit bcfb01bc7e
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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)