summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-07-09 19:00:45 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-07-09 19:00:45 +0000
commite68fc0d0b676bc86d807fe78ea593c3f2d8c972a (patch)
tree51c08413524d9ca1f28e771f7454aaaedb59a8fb /perl-install
parent85c8cfb86f09c8ba6092239022c6ffaf39d8b00c (diff)
downloaddrakx-e68fc0d0b676bc86d807fe78ea593c3f2d8c972a.tar
drakx-e68fc0d0b676bc86d807fe78ea593c3f2d8c972a.tar.gz
drakx-e68fc0d0b676bc86d807fe78ea593c3f2d8c972a.tar.bz2
drakx-e68fc0d0b676bc86d807fe78ea593c3f2d8c972a.tar.xz
drakx-e68fc0d0b676bc86d807fe78ea593c3f2d8c972a.zip
fix row filling
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/ugtk2.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index 2ddda3262..d57ccb86e 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -1113,7 +1113,7 @@ sub ask_browse_tree_info_given_widgets {
my ($iter, $state) = @_;
$state eq 'XXX' and return;
$pix{$state} ||= gtkcreate_pixbuf($state);
- $w->{tree_model}->set($iter, [ 1 => $pix{$state} ]);
+ $w->{tree_model}->set($iter, 1 => $pix{$state});
};
my $set_node_state_tree; $set_node_state_tree = sub {
my ($iter, $state) = @_;
@@ -1129,7 +1129,7 @@ sub ask_browse_tree_info_given_widgets {
my $new_state = @list == 1 ? $list[0] : 'semiselected';
$node_state{$parent_str} ne $new_state and $set_node_state_tree->($parent, $new_state);
}
- $w->{tree_model}->set($iter, [ 1 => $pix{$state} ]);
+ $w->{tree_model}->set($iter, 1 => $pix{$state});
$node_state{$iter_str} = $state; #- cache for efficiency
}
};