aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-02-06 14:02:56 +0000
committerThierry Vignaud <tv@mandriva.org>2008-02-06 14:02:56 +0000
commitd8e835572a37c7dfc0f0cdcd5d71d5044d448cf9 (patch)
tree70ffa1a5dc20cfc2c12da9bae77d29fd31e47893
parentace7bea78b504511acf83bf9b8ce5b1249611797 (diff)
downloadrpmdrake-d8e835572a37c7dfc0f0cdcd5d71d5044d448cf9.tar
rpmdrake-d8e835572a37c7dfc0f0cdcd5d71d5044d448cf9.tar.gz
rpmdrake-d8e835572a37c7dfc0f0cdcd5d71d5044d448cf9.tar.bz2
rpmdrake-d8e835572a37c7dfc0f0cdcd5d71d5044d448cf9.tar.xz
rpmdrake-d8e835572a37c7dfc0f0cdcd5d71d5044d448cf9.zip
(deps_msg) display size of selection (#34123)
-rw-r--r--Rpmdrake/gui.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index e9473703..8994767b 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -494,7 +494,8 @@ sub deps_msg {
deps_msg_again:
my $results = interactive_msg(
$title, $msg .
- formatlistpkg(map { scalar(urpm::select::translate_why_removed_one($urpm, $urpm->{state}, $_)) } @deps),
+ formatlistpkg(map { scalar(urpm::select::translate_why_removed_one($urpm, $urpm->{state}, $_)) } @deps)
+ . "\n\n" . format_size($urpm->selected_size($urpm->{state})),
yesno => [ N("Cancel"), N("More info"), N("Ok") ],
scroll => 1,
);