Browse Source

Use Standalone/AppVM icon for HVM

Instead of separate HVM icon.
Marek Marczykowski-Górecki 10 years ago
parent
commit
77cc22824b
3 changed files with 3 additions and 7 deletions
  1. BIN
      icons/hvm.png
  2. 3 6
      qubesmanager/main.py
  3. 0 1
      resources.qrc

BIN
icons/hvm.png


+ 3 - 6
qubesmanager/main.py

@@ -159,15 +159,12 @@ class VmTypeWidget(VmIconWidget):
         elif vm.is_proxyvm():
             self.value = 2
             return (":/proxyvm.png", "ProxyVM")
-        elif vm.type == "HVM":
-            self.value = 5
-            return (":/hvm.png", "HVM")
-        elif vm.is_template():
-            self.value = 3
-            return (":/templatevm.png", "TemplateVM")
         elif vm.is_appvm() and vm.template is None:
             self.value = 4
             return (":/standalonevm.png", "StandaloneVM")
+        elif vm.is_template():
+            self.value = 3
+            return (":/templatevm.png", "TemplateVM")
         elif vm.is_appvm() or vm.is_disposablevm():
             self.value = 5 + vm.label.index
             return (":/appvm.png", "AppVM")

+ 0 - 1
resources.qrc

@@ -31,7 +31,6 @@
     <file alias="qubes.png">icons/qubes.png</file>
     <file alias="appvm.png">icons/appvm.png</file>
     <file alias="netvm.png">icons/netvm.png</file>
-    <file alias="hvm.png">icons/hvm.png</file>
     <file alias="proxyvm.png">icons/proxyvm.png</file>
     <file alias="standalonevm.png">icons/standalonevm.png</file>
     <file alias="networking.png">icons/networking.png</file>