diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-12-16 18:32:06 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-12-19 19:00:36 -0500 |
commit | 30f3986dff1422cb262e26bbda157e250ab18cf4 (patch) | |
tree | 955af64090b99e8d5e564ee1014445ec36932493 | |
parent | 46ad25f060a93dab18143e813f786e31d088d755 (diff) |
Use black/brown for dead/exited services
https://bugzilla.redhat.com/show_bug.cgi?id=980207
-rw-r--r-- | src/systemadm.vala | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/systemadm.vala b/src/systemadm.vala index 3daf1da7..f594a9b0 100644 --- a/src/systemadm.vala +++ b/src/systemadm.vala @@ -467,8 +467,12 @@ public class MainWindow : Window { string color; switch (u.sub_state) { case "active": color = "blue"; break; - case "dead": color = "red"; break; + case "dead": color = "black"; break; case "running": color = "green"; break; + case "plugged": color = "light blue"; break; + case "mounted": color = "light green"; break; + case "exited": color = "brown"; break; + case "failed": color = "red"; break; default: color = "black"; break; } string span = "<span underline='none' color='" + color + "'>" |