From a87009ee4939352f523c27204f20570168b7c88b Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 26 Mar 2009 18:42:07 +0000 Subject: (show_urpm_progress) prevent dialog to enlarge too much when displaying downloads of media meta_data (eg: adding or updating media) --- rpmdrake.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rpmdrake.pm') 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') { -- cgit v1.2.1