From bce5c32c969a58703fee8a2a630980730f64dc4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marta=20Marczykowska-G=C3=B3recka?= Date: Sat, 10 Mar 2018 20:04:57 +0100 Subject: [PATCH] Added "Exit" option to Qube Manager fixes QubesOS/issues#3683 --- qubesmanager/qube_manager.py | 5 +++++ ui/qubemanager.ui | 8 +++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/qubesmanager/qube_manager.py b/qubesmanager/qube_manager.py index d26b199..ab0b332 100644 --- a/qubesmanager/qube_manager.py +++ b/qubesmanager/qube_manager.py @@ -1016,6 +1016,11 @@ class VmManagerWindow(ui_qubemanager.Ui_VmManagerWindow, QtGui.QMainWindow): backup_window = backup.BackupVMsWindow(self.qt_app, self.qubes_app) backup_window.exec_() + # noinspection PyArgumentList + @QtCore.pyqtSlot(name='on_action_exit_triggered') + def action_exit_triggered(self): + self.close() + def showhide_menubar(self, checked): self.menubar.setVisible(checked) if not checked: diff --git a/ui/qubemanager.ui b/ui/qubemanager.ui index 8d2ef76..31b3dcd 100644 --- a/ui/qubemanager.ui +++ b/ui/qubemanager.ui @@ -244,7 +244,7 @@ 0 0 1100 - 23 + 46 @@ -258,6 +258,7 @@ + @@ -839,6 +840,11 @@ Refresh qube list + + + &Exit Qube Manager + +