Dependencies

- Added new color.blocked to all themes (placeholders for now).
- Added new color rule for applying color.blocked.
This commit is contained in:
Paul Beckingham 2010-07-12 20:14:07 -04:00
parent 8c3fd40c1b
commit fdf7d2203f
9 changed files with 17 additions and 3 deletions

View file

@ -64,6 +64,11 @@ void autoColorize (Task& task, Color& c)
Task::status status = task.getStatus ();
// Colorization of the blocked.
if (gsColor["color.blocked"].nontrivial ())
if (task.get ("depends") != "")
c.blend (gsColor["color.blocked"]);
// Colorization of the tagged.
if (gsColor["color.tagged"].nontrivial ())
if (task.getTagCount ())