aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-01-08 11:21:09 +0000
committerThierry Vignaud <tv@mandriva.org>2009-01-08 11:21:09 +0000
commitaac96d9dc0eb33dece4faed87e94181460f0ca7d (patch)
tree0e3cd4d48de6830137788dd4858a36a1e844bb51
parent65b3487282e04759e8339875963b4403b690cc2c (diff)
downloadrpmdrake-aac96d9dc0eb33dece4faed87e94181460f0ca7d.tar
rpmdrake-aac96d9dc0eb33dece4faed87e94181460f0ca7d.tar.gz
rpmdrake-aac96d9dc0eb33dece4faed87e94181460f0ca7d.tar.bz2
rpmdrake-aac96d9dc0eb33dece4faed87e94181460f0ca7d.tar.xz
rpmdrake-aac96d9dc0eb33dece4faed87e94181460f0ca7d.zip
(remove_callback) fix displayling big list of media to remove and
adjust spacing accordingly (#46773)
-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 71fc9ebc..872dc032 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- edit-urpm-sources:
+ o fix displayling big list of media to remove (#46773)
+
Version 5.5 - 9 December 2008, Thierry Vignaud
- rpmdrake:
diff --git a/Rpmdrake/edit_urpm_sources.pm b/Rpmdrake/edit_urpm_sources.pm
index 4fc77fd0..07793616 100644
--- a/Rpmdrake/edit_urpm_sources.pm
+++ b/Rpmdrake/edit_urpm_sources.pm
@@ -414,9 +414,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;