summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk2.pm
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-03-12 16:00:41 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-03-12 16:00:41 +0000
commit039ca5063551b1b39b0ea84ee59f6282b010fe10 (patch)
tree69dbaaa72b283eb23ee178ad9e4c373703730b48 /perl-install/ugtk2.pm
parent4bce8c8ea9492c5b1a3cd7cf438a8d10eb69567f (diff)
downloaddrakx-039ca5063551b1b39b0ea84ee59f6282b010fe10.tar
drakx-039ca5063551b1b39b0ea84ee59f6282b010fe10.tar.gz
drakx-039ca5063551b1b39b0ea84ee59f6282b010fe10.tar.bz2
drakx-039ca5063551b1b39b0ea84ee59f6282b010fe10.tar.xz
drakx-039ca5063551b1b39b0ea84ee59f6282b010fe10.zip
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)
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r--perl-install/ugtk2.pm3
1 files changed, 2 insertions, 1 deletions
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} || []}) {