- TW-1484 The 'history' and 'ghistory' reports do not obey rc.color.label.
This commit is contained in:
Paul Beckingham 2015-01-10 15:49:42 -05:00
parent cdde747733
commit 547d9edb55
14 changed files with 56 additions and 1 deletions

View file

@ -87,6 +87,9 @@ int CmdUDAs::execute (std::string& output)
view.add (Column::factory ("string", STRING_COLUMN_LABEL_DEFAULT));
view.add (Column::factory ("string", STRING_COLUMN_LABEL_UDACOUNT));
Color label (context.config.get ("color.label"));
view.colorHeader (label);
std::vector <std::string>::iterator uda;
for (uda = udas.begin (); uda != udas.end (); ++uda)
{
@ -147,6 +150,9 @@ int CmdUDAs::execute (std::string& output)
orphanView.add (Column::factory ("string", STRING_COLUMN_LABEL_ORPHAN));
orphanView.add (Column::factory ("string", STRING_COLUMN_LABEL_UDACOUNT));
Color label (context.config.get ("color.label"));
orphanView.colorHeader (label);
std::map <std::string, int>::iterator o;
for (o = orphans.begin (); o != orphans.end (); ++o)
{