aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-06-28 15:28:45 +0000
committerThierry Vignaud <tv@mandriva.org>2007-06-28 15:28:45 +0000
commit9c3c843ed265c0224e59cec89c595ac5a2e9f59f (patch)
treedaaae93a9ba9f21bf59cc496f01ab81d25cd3d4f /Rpmdrake
parent439c2f5e8841be1364ae74b44ce816535b316669 (diff)
downloadrpmdrake-9c3c843ed265c0224e59cec89c595ac5a2e9f59f.tar
rpmdrake-9c3c843ed265c0224e59cec89c595ac5a2e9f59f.tar.gz
rpmdrake-9c3c843ed265c0224e59cec89c595ac5a2e9f59f.tar.bz2
rpmdrake-9c3c843ed265c0224e59cec89c595ac5a2e9f59f.tar.xz
rpmdrake-9c3c843ed265c0224e59cec89c595ac5a2e9f59f.zip
(format_pkg_simplifiedinfo) simplify
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/gui.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index b8640e37..ccc25b00 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -105,7 +105,7 @@ sub format_pkg_simplifiedinfo {
),
format_field(N("Architecture: ")) . $pkgs->{$key}{pkg}->arch,
format_field(N("Size: ")) . N("%s KB", int($pkgs->{$key}{pkg}->size/1024)),
- eval { format_field(N("Medium: ")) . pkg2medium($pkgs->{$key}{pkg}, $urpm)->{name} },
+ eval { format_field(N("Medium: ")) . $raw_medium->{name} },
),
),
)) ];