aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-28 18:42:23 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-28 18:42:23 +0000
commitee81cb574848dccc43cb09bcd0d34a15cac45461 (patch)
tree5a9dd3bcd09c21434d36e4502ca6f03282b0c42c /Rpmdrake
parent5f12f683ee5feab9f8af4009cf4ada9976e2e17c (diff)
downloadrpmdrake-ee81cb574848dccc43cb09bcd0d34a15cac45461.tar
rpmdrake-ee81cb574848dccc43cb09bcd0d34a15cac45461.tar.gz
rpmdrake-ee81cb574848dccc43cb09bcd0d34a15cac45461.tar.bz2
rpmdrake-ee81cb574848dccc43cb09bcd0d34a15cac45461.tar.xz
rpmdrake-ee81cb574848dccc43cb09bcd0d34a15cac45461.zip
(add_node) 'options' parameter is not mandatory
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/gui.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index 3a0ca976..51262b56 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -433,7 +433,7 @@ sub add_parent {
}
sub add_node {
- my ($leaf, $root, $options) = @_;
+ my ($leaf, $root, $o_options) = @_;
my $state = node_state($leaf) or return;
if ($leaf) {
my $iter;
@@ -457,7 +457,7 @@ sub add_node {
#- if leaf is void, we may create the parent and one child (to have the [+] in front of the parent in the ctree)
#- though we use '' as the label of the child; then rpmdrake will connect on tree_expand, and whenever
#- the first child has '' as the label, it will remove the child and add all the "right" children
- $options->{nochild} or $w->{tree_model}->append_set($parent, [ $grp_columns{label} => '' ]); # test $leaf?
+ $o_options->{nochild} or $w->{tree_model}->append_set($parent, [ $grp_columns{label} => '' ]); # test $leaf?
}
}