aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2002-08-22 15:24:49 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2002-08-22 15:24:49 +0000
commit6f1d379307741a3612983883d4ef353d6f5c17e0 (patch)
tree9a6855aedb44462b2b0d01437055e35ea511dc7a
parent6d4b87608bdc60fdd4ef22b974d22fb6e7708dfd (diff)
downloadrpmdrake-6f1d379307741a3612983883d4ef353d6f5c17e0.tar
rpmdrake-6f1d379307741a3612983883d4ef353d6f5c17e0.tar.gz
rpmdrake-6f1d379307741a3612983883d4ef353d6f5c17e0.tar.bz2
rpmdrake-6f1d379307741a3612983883d4ef353d6f5c17e0.tar.xz
rpmdrake-6f1d379307741a3612983883d4ef353d6f5c17e0.zip
fix intrusive hackery providing [+] which made some
parents with no child bug
-rwxr-xr-xrpmdrake4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpmdrake b/rpmdrake
index 03cac61b..0e9848b0 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -179,7 +179,7 @@ sub do_search($$$$$$) {
$options->{add_nodes}->(map { [ $_, _("Search results") ] } sort { uc($a) cmp uc($b) } @search_results);
$tree->expand($tree->node_nth($tree->rows-1));
} else {
- $options->{add_nodes}->([ '', $results_none ]);
+ $options->{add_nodes}->([ '', $results_none, { nochild => 1 }]);
}
}
@@ -255,7 +255,7 @@ sub run_treeview_dialog {
@keys = grep { my ($name) = split_fullname($_);
member($descriptions->{$name}{importance}, @$mandrakeupdate_wanted_categories) } @keys;
if (@keys == 0) {
- $add_node->('', _("(none)"));
+ $add_node->('', _("(none)"), { nochild => 1 });
my $explanation_only_once if 0;
$explanation_only_once or interactive_msg(_("No update"),
_("The list of updates is void. This means that either there is