Merge branch 'master' of git.qubes-os.org:/var/lib/qubes/git/marmarek/qubes-manager

This commit is contained in:
Joanna Rutkowska 2012-04-24 22:46:46 +02:00
commit 4efc56e3cf
2 changed files with 7 additions and 2 deletions

View File

@ -1304,7 +1304,7 @@ class VmManagerWindow(Ui_VmManagerWindow, QMainWindow):
def do_update_vm(self, vm, thread_monitor):
try:
if vm.qid == 0:
subprocess.check_call (["/usr/bin/qvm-dom0-update", "--gui"])
subprocess.check_call (["/usr/bin/qubes-dom0-update", "--gui"])
else:
vm.run("user:gpk-update-viewer", verbose=False, autostart=True)
except Exception as ex:

View File

@ -379,9 +379,14 @@ class VMSettingsWindow(Ui_SettingsDialog, QDialog):
self.config_path.setText(self.vm.conf_file)
if self.vm.template is not None:
self.root_img_path.setText(self.vm.template.root_img)
elif self.vm.root_img is not None:
self.root_img_path.setText(self.vm.root_img)
else:
self.root_img_path.setText("n/a")
self.volatile_img_path.setText(self.vm.volatile_img)
if self.vm.volatile_img is not None:
self.volatile_img_path.setText(self.vm.volatile_img)
else:
self.volatile_img_path.setText('n/a')
self.private_img_path.setText(self.vm.private_img)