summaryrefslogtreecommitdiff
path: root/src/gtk/resolver.cc
diff options
context:
space:
mode:
authorDaniel Burrows <dburrows@debian.org>2009-04-05 13:48:14 -0700
committerDaniel Burrows <dburrows@debian.org>2009-04-05 13:48:14 -0700
commit8c09b279b9d953dfddfb2c16034d8df5364fb90f (patch)
treef8065609bba49fc07047cb06a388861ac7b84462 /src/gtk/resolver.cc
parent2679e8ffc791fadfe524e38e9ef4153d44ab026a (diff)
downloadaptitude-8c09b279b9d953dfddfb2c16034d8df5364fb90f.tar.gz
Show tiers instead of scores in the resolver tab.
Diffstat (limited to 'src/gtk/resolver.cc')
-rw-r--r--src/gtk/resolver.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gtk/resolver.cc b/src/gtk/resolver.cc
index cada04c9..19ff80a5 100644
--- a/src/gtk/resolver.cc
+++ b/src/gtk/resolver.cc
@@ -737,7 +737,8 @@ namespace gui
if(!last_sol)
pResolverStatus->set_text(state.solutions_exhausted ? _("No solutions.") : _("No solutions yet."));
else
- pResolverStatus->set_text(ssprintf(_("Solution %d of %d (score: %d)"), state.selected_solution + 1, state.generated_solutions, last_sol.get_score()));
+ pResolverStatus->set_text(ssprintf(_("Solution %d of %d (tier %s)"), state.selected_solution + 1, state.generated_solutions,
+ aptitude_universe::get_tier_name(last_sol.get_tier()).c_str()));
pResolverPrevious->set_sensitive(do_previous_solution_enabled_from_state(state));
pResolverNext->set_sensitive(do_next_solution_enabled_from_state(state));