aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-03-26 18:42:07 +0000
committerThierry Vignaud <tv@mandriva.org>2009-03-26 18:42:07 +0000
commita87009ee4939352f523c27204f20570168b7c88b (patch)
tree98eb0672c28338484c9e0c005e2b57f6a91ee61e /rpmdrake.pm
parent2dc7599b10e65cc060f8b06d25aef3b317fe6312 (diff)
downloadrpmdrake-a87009ee4939352f523c27204f20570168b7c88b.tar
rpmdrake-a87009ee4939352f523c27204f20570168b7c88b.tar.gz
rpmdrake-a87009ee4939352f523c27204f20570168b7c88b.tar.bz2
rpmdrake-a87009ee4939352f523c27204f20570168b7c88b.tar.xz
rpmdrake-a87009ee4939352f523c27204f20570168b7c88b.zip
(show_urpm_progress) prevent dialog to enlarge too much when
displaying downloads of media meta_data (eg: adding or updating media)
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r--rpmdrake.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index c5edc33c..f9cf7443 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -711,7 +711,7 @@ sub show_urpm_progress {
$label->set_label($label->get_label . N(" failed!"));
$medium = undef;
} else {
- length($file) > 60 and $file = $medium ? #-PO: We're downloading the said file from the said medium
+ $file = $medium && length($file) < 40 ? #-PO: We're downloading the said file from the said medium
N("%s from medium %s", basename($file), $medium)
: basename($file);
if ($mode eq 'start') {