diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-08-09 14:47:52 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-08-09 14:47:52 +0000 |
commit | fdcddb78e1f8a0555e9974c3d5c14ebde1175883 (patch) | |
tree | 5a7cb6686104af2c30c5ccb582366930f4655141 /perl-install/interactive/gtk.pm | |
parent | 7ac8219258c8ff195861082dbdc968fb7bcc2dec (diff) | |
download | drakx-backup-do-not-use-fdcddb78e1f8a0555e9974c3d5c14ebde1175883.tar drakx-backup-do-not-use-fdcddb78e1f8a0555e9974c3d5c14ebde1175883.tar.gz drakx-backup-do-not-use-fdcddb78e1f8a0555e9974c3d5c14ebde1175883.tar.bz2 drakx-backup-do-not-use-fdcddb78e1f8a0555e9974c3d5c14ebde1175883.tar.xz drakx-backup-do-not-use-fdcddb78e1f8a0555e9974c3d5c14ebde1175883.zip |
simplify
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 4afbb8c06..dd8d0f8f0 100644 --- a/perl-install/interactive/gtk.pm +++ b/perl-install/interactive/gtk.pm @@ -222,8 +222,8 @@ sub create_treeview_tree { my $select = sub { my ($path_str) = @_; - $tree->expand_to_path(Gtk2::TreePath->new_from_string($path_str)); my $path = Gtk2::TreePath->new_from_string($path_str); + $tree->expand_to_path($path); $tree->set_cursor($path, undef, 0); gtkflush(); #- workaround gtk2 bug not honouring centering on the given row if node was closed $tree->scroll_to_cell($path, undef, 1, 0.5, 0); |