diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-03-26 18:42:07 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-03-26 18:42:07 +0000 |
commit | a87009ee4939352f523c27204f20570168b7c88b (patch) | |
tree | 98eb0672c28338484c9e0c005e2b57f6a91ee61e | |
parent | 2dc7599b10e65cc060f8b06d25aef3b317fe6312 (diff) | |
download | rpmdrake-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)
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | rpmdrake.pm | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,3 +1,5 @@ +- prevent dialog to enlarge too much when displaying downloads of + media meta_data (eg: adding or updating media) - gurpmi.addmedia: o fix success message when adding mirrorlist (#48112) 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') { |