aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--rpmdrake.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 39b3a9a5..c6ab4e28 100644
--- a/NEWS
+++ b/NEWS
@@ -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') {