summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Joachim <svenjoac@gmx.de>2009-05-22 05:04:00 +0200
committerGuillem Jover <guillem@debian.org>2009-05-22 05:16:18 +0200
commite2e412977aefafa7df6f84c8cb6fe645dae85215 (patch)
tree4b207ddf3c5bf377de8c78228d80da61d63d083e
parent2251827c000ba901d0027194f6d9281184ede701 (diff)
downloaddpkg-e2e412977aefafa7df6f84c8cb6fe645dae85215.tar.gz
dselect: Remove obsolete priorities support
dselect shows wrong package priorities in the package selection screen. This is because the string representations arrays haven't been updated to reflect the removal of the “Recommended” and “Contrib” priorities in commit c8d3938be127e256fd593f234858fb9d474b2353.
-rw-r--r--debian/changelog2
-rw-r--r--dselect/pkgdisplay.cc4
2 files changed, 2 insertions, 4 deletions
diff --git a/debian/changelog b/debian/changelog
index 9bf12c739..3050cba8a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ dpkg (1.15.2) UNRELEASED; urgency=low
* Fix FTBFS on GNU/Hurd due to a missmatched define usage in
start-stop-daemon.
+ * Remove obsolete priorities support from dselect.
+ Thanks to Sven Joachim <svenjoac@gmx.de>.
-- Guillem Jover <guillem@debian.org> Thu, 21 May 2009 07:01:35 +0200
diff --git a/dselect/pkgdisplay.cc b/dselect/pkgdisplay.cc
index c7670431b..2832d412b 100644
--- a/dselect/pkgdisplay.cc
+++ b/dselect/pkgdisplay.cc
@@ -62,10 +62,8 @@ const char
*const prioritystrings[]= { N_("Required"),
N_("Important"),
N_("Standard"),
- N_("Recommended"),
N_("Optional"),
N_("Extra"),
- N_("Contrib"),
N_("!Bug!"),
N_("Unclassified"),
0 },
@@ -84,10 +82,8 @@ const char
*const priorityabbrevs[]= { N_("Req"),
N_("Imp"),
N_("Std"),
- N_("Rec"),
N_("Opt"),
N_("Xtr"),
- N_("Ctb"),
N_("bUG"),
N_("?") };