Configuration

- Allows rc.tag.indicator to replace the default + indicator.
- Allows rc.active.indicator to replace the default * indicator.
- Allows rc.recurrence.indicator to replace the default R indicator.
This commit is contained in:
Paul Beckingham 2010-02-11 23:50:55 -05:00
parent 22d99806d0
commit 67546f8163
7 changed files with 52 additions and 17 deletions

View file

@ -511,7 +511,7 @@ int runCustomReport (
for (unsigned int row = 0; row < tasks.size(); ++row)
if (tasks[row].has ("start"))
table.addCell (row, columnCount, "*");
table.addCell (row, columnCount, context.config.get ("active.indicator"));
}
else if (*col == "tags")
@ -586,7 +586,7 @@ int runCustomReport (
for (unsigned int row = 0; row < tasks.size(); ++row)
if (tasks[row].has ("recur"))
table.addCell (row, columnCount, "R");
table.addCell (row, columnCount, context.config.get ("recurrence.indicator"));
}
else if (*col == "tag_indicator")
@ -597,7 +597,7 @@ int runCustomReport (
for (unsigned int row = 0; row < tasks.size(); ++row)
if (tasks[row].getTagCount ())
table.addCell (row, columnCount, "+");
table.addCell (row, columnCount, context.config.get ("tag.indicator"));
}
else if (*col == "wait")