diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2005-09-16 16:32:18 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2005-09-16 16:32:18 +0000 |
commit | 7b6a1f1f6d3da56fb2d7e44c89bac807dc9eb8eb (patch) | |
tree | afd68e65c5d11ba6f7499029cc55083cdb256c3c /perl-install/interactive/gtk.pm | |
parent | da188129369fdbff0dfb3d280255dfba91d736b4 (diff) | |
download | drakx-7b6a1f1f6d3da56fb2d7e44c89bac807dc9eb8eb.tar drakx-7b6a1f1f6d3da56fb2d7e44c89bac807dc9eb8eb.tar.gz drakx-7b6a1f1f6d3da56fb2d7e44c89bac807dc9eb8eb.tar.bz2 drakx-7b6a1f1f6d3da56fb2d7e44c89bac807dc9eb8eb.tar.xz drakx-7b6a1f1f6d3da56fb2d7e44c89bac807dc9eb8eb.zip |
(create_treeview_list) workaround Gtk+ bug where it hides half the list (#18132)
Diffstat (limited to 'perl-install/interactive/gtk.pm')
-rw-r--r-- | perl-install/interactive/gtk.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm index 36007face..f4b0449dd 100644 --- a/perl-install/interactive/gtk.pm +++ b/perl-install/interactive/gtk.pm @@ -143,7 +143,7 @@ sub create_treeview_list { my $nb = find_index { $_ eq $v } @{$e->{list}}; my ($old_path) = $list_tv->get_cursor; if (!$old_path || $nb != $old_path->to_string) { - $select->(Gtk2::TreePath->new_from_string($nb)); + Glib::Timeout->add(100, sub { $select->(Gtk2::TreePath->new_from_string($nb)); 1 }); } undef $old_path if $old_path; }; |