aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/gui.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index 746531a9..a5ffbfe4 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -259,7 +259,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."),
@@ -275,6 +278,7 @@ sub node_state {
),
scroll => 1,
);
+ }
return 'XXX';
}
#- checks $_[0] -> hack for partial tree displaying