Warning the user that AppVMs restart is needed after template modification (#168)

This commit is contained in:
Marek Marczykowski 2011-04-03 01:24:16 +02:00
parent 8ef96dfd0a
commit d638d53d38

View File

@ -326,6 +326,8 @@ class VmShutdownMonitor(QObject):
def check_if_vm_has_shutdown(self):
vm = self.vm
if not vm.is_running():
if vm.is_template():
trayIcon.showMessage ("Qubes Manager", "You have just modified template '{0}'. You should restart VMs based on it!".format(vm.name), msecs=3000)
return
reply = QMessageBox.question(None, "VM Shutdown",