From aefe0dde4399a0540496ba76aeea0cba486913cb Mon Sep 17 00:00:00 2001 From: Matt McCutchen Date: Sun, 8 Feb 2015 20:21:43 -0500 Subject: [PATCH] Show an icon for VMs whose TemplateVM is running. https://groups.google.com/d/topic/qubes-users/woHD9RaHvF8/discussion --- icons/to-be-outdated.png | Bin 0 -> 2468 bytes qubesmanager/table_widgets.py | 31 ++++++++++++++++++++++--------- resources.qrc | 1 + 3 files changed, 23 insertions(+), 9 deletions(-) create mode 100644 icons/to-be-outdated.png diff --git a/icons/to-be-outdated.png b/icons/to-be-outdated.png new file mode 100644 index 0000000000000000000000000000000000000000..42634dd35d378f38ae76018b4213cb27c130b912 GIT binary patch literal 2468 zcmV;V30wAwP)@q^MBbOtIUT?b@{Khng&n+fPkQ)3_VA zA2y~YP3i_T+6F_i+pTq@wMz;{M=b5qASvyFO2C=roeaav$jqI&_nvdleyH34Yqu=m zr{$mA%>8iZx#xGD=RD7I&IMMrs#UFORsYW-i+!-Brsj136@(B7f&ftzAqc_`MhF4t z9Hwc4QVP!bmD<|cGYf6>_V$vKCr=ibrdc71;+4aP4}S{)TefWBO9hY?IrvRpueYM6 zrUsmIYp}ETvl0XWf*|17v15CBdV0=2`sky4?%+T98tcu0zu_B$G*Kng(6h!5D)iNia=w zo(?c3y`0RX_ELx*l1Jb3Wr$jHczU@!>NG{G1Hr4*D>FvhHqnhVg?)kP*ICVu|( z(@#T^B+GM}reWQ>b=bduKNLkd{NaZmKGD_HMIIV}X_};=q2ZV7)~zdj)9UolB8rx%%>8PsrfC^YrxUuagAih6EyfshT}LvRM0R#Io_+S&CuU}5 zUNTK{WdYjS+DKz#qf->cgH=^kV2nZ2G?=CdN%|p?-M)PrHk%EiD1tFIFN9uw_0^$B zB=YBvKKclE@7{$h%Me8oob!3!*tTsOJRZ-UhK7dH_V#wNVgQsPgpwY7DILLrEv2-7rCR8(ZeRbgQvKXBl{CC1p>&CSg>u3x_nS(YJ5 z5;*5D3*{{}+Kk0E(hmVK*B}`T6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B;Jw1)Fu`xs<5hRmID2f7?%Y~aaZ(?d{>ay4C z{o=@xBa7~@77g&uJMVC}+daiOZwdqgAcP<%CkHN<3wFC5vMfVU6m)fULDRHLIXOA% z9C!;v*L5Tk322%I&N*y08$zKF1_lOhcs!oJ@&_Gptkki}(W6IsPEO9Zl+r&nH8nxk zb>!ye!sGEED=Q0jyB(dKosebu??;awPm*CQ`4uXJQ&wGc%(P2tnBGc4TB^AUiu7YuB!Y+wF$K;ef;8 zz}~%kv2WkLXB-a4@9!TZFG}K4T7W3iS+0000VM outdated" icon_path = ":/outdated.png" - tooltip_text = "The VM must be restarted for its filesystem to reflect the template's recent changes." + tooltip_text = "The VM must be restarted for its filesystem to reflect the template's recent committed changes." + elif state == "to-be-outdated": + label_text = "TemplateVM running" + icon_path = ":/to-be-outdated.png" + tooltip_text = "The TemplateVM must be stopped before changes from its current session can be picked up by this VM." elif state == None: label_text = "" icon_path = None diff --git a/resources.qrc b/resources.qrc index 664f506..c9f9172 100644 --- a/resources.qrc +++ b/resources.qrc @@ -8,6 +8,7 @@ icons/global-settings.png icons/on-icon/off.png icons/outdated.png + icons/to-be-outdated.png icons/update-recommended.png icons/show-all-running.png icons/mount.png