diff --git a/icons/paused.png b/icons/paused.png new file mode 100644 index 0000000..9ce3400 Binary files /dev/null and b/icons/paused.png differ diff --git a/qubesmanager/main.py b/qubesmanager/main.py index bb22343..2490b55 100755 --- a/qubesmanager/main.py +++ b/qubesmanager/main.py @@ -204,6 +204,8 @@ class VmStatusIcon(QLabel): def set_on_icon(self): if self.vm.last_power_state == "Running": icon = QIcon (":/on.png") + elif self.vm.last_power_state in ["Paused"]: + icon = QIcon (":/paused.png") elif self.vm.last_power_state in ["Transient", "Halting", "Dying"]: icon = QIcon (":/transient.png") else: diff --git a/resources.qrc b/resources.qrc index 8fc5a1d..20a1a47 100644 --- a/resources.qrc +++ b/resources.qrc @@ -21,6 +21,7 @@ icons/add.png icons/flag-blue.png icons/running.png + icons/paused.png icons/transient.png icons/flag-green.png icons/flag-red.png @@ -49,5 +50,4 @@ icons/showcpuload.png icons/mic.png -