aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/gui.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Rpmdrake/gui.pm')
-rw-r--r--Rpmdrake/gui.pm6
1 files changed, 5 insertions, 1 deletions
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