Merge branch 'master' of git.qubes-os.org:/var/lib/qubes/git/marmarek/qubes-manager
This commit is contained in:
		
						commit
						26b958e1d9
					
				@ -1305,7 +1305,7 @@ class VmManagerWindow(Ui_VmManagerWindow, QMainWindow):
 | 
				
			|||||||
    def do_update_vm(self, vm, thread_monitor):
 | 
					    def do_update_vm(self, vm, thread_monitor):
 | 
				
			||||||
        try:
 | 
					        try:
 | 
				
			||||||
            if vm.qid == 0:
 | 
					            if vm.qid == 0:
 | 
				
			||||||
                subprocess.check_call (["/usr/bin/qvm-dom0-update", "--gui"])
 | 
					                subprocess.check_call (["/usr/bin/qubes-dom0-update", "--gui"])
 | 
				
			||||||
            else:
 | 
					            else:
 | 
				
			||||||
                vm.run("user:gpk-update-viewer", verbose=False, autostart=True)
 | 
					                vm.run("user:gpk-update-viewer", verbose=False, autostart=True)
 | 
				
			||||||
        except Exception as ex:
 | 
					        except Exception as ex:
 | 
				
			||||||
 | 
				
			|||||||
@ -379,9 +379,14 @@ class VMSettingsWindow(Ui_SettingsDialog, QDialog):
 | 
				
			|||||||
        self.config_path.setText(self.vm.conf_file)
 | 
					        self.config_path.setText(self.vm.conf_file)
 | 
				
			||||||
        if self.vm.template is not None:
 | 
					        if self.vm.template is not None:
 | 
				
			||||||
            self.root_img_path.setText(self.vm.template.root_img)
 | 
					            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:
 | 
					        else:
 | 
				
			||||||
            self.root_img_path.setText("n/a")
 | 
					            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)
 | 
					        self.private_img_path.setText(self.vm.private_img)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user