aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-01-08 11:21:36 +0000
committerThierry Vignaud <tv@mandriva.org>2009-01-08 11:21:36 +0000
commit5e4defd1fddc394c7795b4e989d1bf2476378a1f (patch)
treeb3ffe51019e6165fa2a388ae43a7d515933ff955
parent4bb01ddfcdd29c58c4f68303a99107c5da2baa6b (diff)
downloadrpmdrake-5e4defd1fddc394c7795b4e989d1bf2476378a1f.tar
rpmdrake-5e4defd1fddc394c7795b4e989d1bf2476378a1f.tar.gz
rpmdrake-5e4defd1fddc394c7795b4e989d1bf2476378a1f.tar.bz2
rpmdrake-5e4defd1fddc394c7795b4e989d1bf2476378a1f.tar.xz
rpmdrake-5e4defd1fddc394c7795b4e989d1bf2476378a1f.zip
(remove_callback) fix displayling big list of media to remove and
adjust spacing accordingly (#46773) (backported from trunk)
-rw-r--r--NEWS3
-rw-r--r--Rpmdrake/edit_urpm_sources.pm6
2 files changed, 6 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index ba7233fa..d3b48cac 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- edit-urpm-sources:
+ o fix displayling big list of media to remove (#46773)
+
Version 5.0.4 - 9 December 2008, Thierry Vignaud
- drop diagnostics, strict, vars and warnings pragmas (should help #45361)
diff --git a/Rpmdrake/edit_urpm_sources.pm b/Rpmdrake/edit_urpm_sources.pm
index d39635f4..4b0f32af 100644
--- a/Rpmdrake/edit_urpm_sources.pm
+++ b/Rpmdrake/edit_urpm_sources.pm
@@ -409,9 +409,9 @@ sub remove_callback() {
N("Source Removal"),
@rows == 1 ?
N("Are you sure you want to remove source \"%s\"?", to_utf8($urpm->{media}[$rows[0]]{name})) :
- N("Are you sure you want to remove the following sources ?") . "\n\n\n" .
- format_list(map { to_utf8($urpm->{media}[$_]{name}) . "\n" } @rows),
- yesno => 1,
+ N("Are you sure you want to remove the following sources ?") . "\n\n" .
+ format_list(map { to_utf8($urpm->{media}[$_]{name}) } @rows),
+ yesno => 1, scroll => 1,
transient => $::main_window,
) or return;