From d638d53d38c4754bfcbe244d10af4919830323bb Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Sun, 3 Apr 2011 01:24:16 +0200 Subject: [PATCH] Warning the user that AppVMs restart is needed after template modification (#168) --- qubesmanager/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qubesmanager/main.py b/qubesmanager/main.py index 31cdfe3..eeb5e70 100755 --- a/qubesmanager/main.py +++ b/qubesmanager/main.py @@ -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",