Added info to Restore Backup widget about dom0 restore
Added a label that makes it a bit more clear where the dom0 restore backup data went. references QubesOS/qubes-issues#3975
This commit is contained in:
parent
60f62ff7cf
commit
0347eb6b1a
@ -96,6 +96,8 @@ class RestoreVMsWindow(ui_restoredlg.Ui_Restore, QtGui.QWizard):
|
||||
|
||||
self.setupUi(self)
|
||||
|
||||
self.dom0_restored_label.setVisible(False)
|
||||
|
||||
self.select_vms_widget = multiselectwidget.MultiSelectWidget(self)
|
||||
self.select_vms_layout.insertWidget(1, self.select_vms_widget)
|
||||
|
||||
@ -185,6 +187,9 @@ class RestoreVMsWindow(ui_restoredlg.Ui_Restore, QtGui.QWizard):
|
||||
vmname = self.select_vms_widget.available_list.item(i).text()
|
||||
del self.vms_to_restore[str(vmname)]
|
||||
|
||||
if 'dom0' in self.vms_to_restore.keys():
|
||||
self.dom0_restored_label.setVisible(True)
|
||||
|
||||
self.vms_to_restore = self.backup_restore.restore_info_verify(
|
||||
self.vms_to_restore)
|
||||
|
||||
|
@ -265,6 +265,13 @@ p, li { white-space: pre-wrap; }
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="dom0_restored_label">
|
||||
<property name="text">
|
||||
<string><html><head/><body><p><span style=" font-weight:600;">WARNING: restored dom0 files are located in ~/backup-restore-&lt;timestamp&gt; directory</span></p></body></html></string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
|
Loading…
Reference in New Issue
Block a user