aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS4
-rw-r--r--Rpmdrake/gui.pm6
2 files changed, 9 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 7c571c46..b7afcfc0 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,10 @@
- rpmdrake:
o fix listing updates per importance (#41331)
(regression introduced in 3.95 on 2007-09-14)
+ o only warn once per session when media XML metadata are newer than
+ synthesis (#42737)
+ (meaning package list & metadata are not syncrhonised and that
+ media need updates)
Version 4.9.13.4 - 9 September 2008, Thierry Vignaud
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index 85d7cd29..382b911d 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -241,7 +241,10 @@ sub node_state {
my $urpm_obj = $pkg->{pkg};
if (!$urpm_obj) {
my ($short_name) = split_fullname($name);
- interactive_msg(N("Warning"),
+ state $warned;
+ if (!$warned) {
+ $warned = 1;
+ interactive_msg(N("Warning"),
join("\n",
N("The package \"%s\" was found.", $name),
N("However this package is not in the package list."),
@@ -257,6 +260,7 @@ sub node_state {
),
scroll => 1,
);
+ }
return 'XXX';
}
#- checks $_[0] -> hack for partial tree displaying