From 039ca5063551b1b39b0ea84ee59f6282b010fe10 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Wed, 12 Mar 2003 16:00:41 +0000 Subject: fix non-important (but still valid) part of #2488, a.k.a package tree not expanding visually when it should (needs the mouse pointer over it to be updated visually) --- perl-install/ugtk2.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm index 1e23d61d0..5c7f9cf32 100644 --- a/perl-install/ugtk2.pm +++ b/perl-install/ugtk2.pm @@ -1047,7 +1047,8 @@ sub ask_browse_tree_info { $buttons[0]->grab_focus; $w->{rwindow}->show_all; - my @toolbar = (ftout => [ N("Expand Tree"), sub { $tree->expand_all } ], + #- TODO: $tree->queue_draw is a workaround to a bug in gtk-2.2.1; submit it in their bugzilla + my @toolbar = (ftout => [ N("Expand Tree"), sub { $tree->expand_all; $tree->queue_draw } ], ftin => [ N("Collapse Tree"), sub { $tree->collapse_all } ], reload => [ N("Toggle between flat and group sorted"), sub { invbool(\$common->{state}{flat}); $common->{rebuild_tree}->() } ]); foreach my $ic (@{$common->{icons} || []}) { -- cgit v1.2.1