Merge remote-tracking branch 'qubesos/pr/75'

This commit is contained in:
Marek Marczykowski-Górecki 2018-03-14 21:33:01 +01:00
commit b0ebb76bf3
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724
2 changed files with 12 additions and 1 deletions

View File

@ -1016,6 +1016,11 @@ class VmManagerWindow(ui_qubemanager.Ui_VmManagerWindow, QtGui.QMainWindow):
backup_window = backup.BackupVMsWindow(self.qt_app, self.qubes_app) backup_window = backup.BackupVMsWindow(self.qt_app, self.qubes_app)
backup_window.exec_() backup_window.exec_()
# noinspection PyArgumentList
@QtCore.pyqtSlot(name='on_action_exit_triggered')
def action_exit_triggered(self):
self.close()
def showhide_menubar(self, checked): def showhide_menubar(self, checked):
self.menubar.setVisible(checked) self.menubar.setVisible(checked)
if not checked: if not checked:

View File

@ -244,7 +244,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>1100</width> <width>1100</width>
<height>23</height> <height>46</height>
</rect> </rect>
</property> </property>
<property name="contextMenuPolicy"> <property name="contextMenuPolicy">
@ -258,6 +258,7 @@
<addaction name="action_show_network"/> <addaction name="action_show_network"/>
<addaction name="action_backup"/> <addaction name="action_backup"/>
<addaction name="action_restore"/> <addaction name="action_restore"/>
<addaction name="action_exit"/>
</widget> </widget>
<widget class="QMenu" name="menu_view"> <widget class="QMenu" name="menu_view">
<property name="title"> <property name="title">
@ -839,6 +840,11 @@
<string>Refresh qube list</string> <string>Refresh qube list</string>
</property> </property>
</action> </action>
<action name="action_exit">
<property name="text">
<string>&amp;Exit Qube Manager</string>
</property>
</action>
</widget> </widget>
<resources> <resources>
<include location="../resources.qrc"/> <include location="../resources.qrc"/>