Mailinglist Archive: zypp-commit (171 mails)

< Previous Next >
[zypp-commit] <zypper> master : Show to-be-removed and to-change-vendor count in negative color.
  • From: Ján Kupec <jkupec@xxxxxxx>
  • Date: Sun, 7 Jun 2009 16:34:48 +0200
  • Message-id: <E1MDcA6-0007Bo-B1@xxxxxxxxxxxxxxxx>
ref: refs/heads/master
commit 7be34cf5c85d3e57abbdc0bbf27769b32ad81ad9
Author: Ján Kupec <jkupec@xxxxxxx>
Date: Sun Jun 7 16:34:48 2009 +0200

Show to-be-removed and to-change-vendor count in negative color.
---
src/Summary.cc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Summary.cc b/src/Summary.cc
index 820dda5..e44df3b 100644
--- a/src/Summary.cc
+++ b/src/Summary.cc
@@ -678,7 +678,7 @@ void Summary::writePackageCounts(ostream & out)
count = i->second.size();
if (gotcha)
s << ", ";
- fprint_color(s, str::form("%d ", count), COLOR_CONTEXT_HIGHLIGHT);
+ fprint_color(s, str::form("%d ", count), COLOR_CONTEXT_NEGATIVE);
if (gotcha)
// translators: this text will be preceded by a number e.g. "5 to ..."
s << _PL("to remove", "to remove", count);
@@ -693,7 +693,7 @@ void Summary::writePackageCounts(ostream & out)
count = i->second.size();
if (gotcha)
s << ", ";
- fprint_color(s, str::form("%d ", count), COLOR_CONTEXT_HIGHLIGHT);
+ fprint_color(s, str::form("%d ", count), COLOR_CONTEXT_NEGATIVE);
if (gotcha)
// translators: this text will be preceded by a number e.g. "5 to ..."
s << _PL("to change vendor", " to change vendor", count);
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages