aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/gui.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-03-22 21:11:52 +0000
committerThierry Vignaud <tv@mandriva.org>2007-03-22 21:11:52 +0000
commitbdeb166e70af0310e1b4611b62bdb4926e70423f (patch)
tree1e3fe512e627250407a132741171683b051bf49f /Rpmdrake/gui.pm
parent5c5679f99b0e75be085681c3773a4fcd4aebec31 (diff)
downloadrpmdrake-bdeb166e70af0310e1b4611b62bdb4926e70423f.tar
rpmdrake-bdeb166e70af0310e1b4611b62bdb4926e70423f.tar.gz
rpmdrake-bdeb166e70af0310e1b4611b62bdb4926e70423f.tar.bz2
rpmdrake-bdeb166e70af0310e1b4611b62bdb4926e70423f.tar.xz
rpmdrake-bdeb166e70af0310e1b4611b62bdb4926e70423f.zip
(add_node) fix gtk+ warnings (#26798)
Diffstat (limited to 'Rpmdrake/gui.pm')
-rw-r--r--Rpmdrake/gui.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index 96bb5b54..dc180875 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -273,10 +273,10 @@ sub ask_browse_tree_given_widgets_for_rpmdrake {
if (is_a_package($leaf)) {
$iter = $w->{detail_list_model}->append_set([ $pkg_columns{text} => $leaf ]);
set_node_state($iter, $state, $w->{detail_list_model});
+ $ptree{$leaf} = [ $iter ];
} else {
$iter = $w->{tree_model}->append_set(add_parent($root, $state), [ $grp_columns{label} => $leaf ]);
}
- push @{$ptree{$leaf}}, $iter;
} else {
my $parent = add_parent($root, $state);
#- hackery for partial displaying of trees, used in rpmdrake: