summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive_gtk.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-02-05 17:50:48 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-02-05 17:50:48 +0000
commit265d4e492148c9a450610b702354ba40a27bdbb1 (patch)
treea96996d77da1df06e92c1a71ff2661222f7906a0 /perl-install/interactive_gtk.pm
parentf48e0e776322ce0b9ec413acadf9b8864cecba9b (diff)
downloaddrakx-265d4e492148c9a450610b702354ba40a27bdbb1.tar
drakx-265d4e492148c9a450610b702354ba40a27bdbb1.tar.gz
drakx-265d4e492148c9a450610b702354ba40a27bdbb1.tar.bz2
drakx-265d4e492148c9a450610b702354ba40a27bdbb1.tar.xz
drakx-265d4e492148c9a450610b702354ba40a27bdbb1.zip
(create_ctree): node_moveto done only if node_is_visible is not full
Diffstat (limited to 'perl-install/interactive_gtk.pm')
-rw-r--r--perl-install/interactive_gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/interactive_gtk.pm b/perl-install/interactive_gtk.pm
index 88b5a0999..b96a7d48c 100644
--- a/perl-install/interactive_gtk.pm
+++ b/perl-install/interactive_gtk.pm
@@ -159,7 +159,7 @@ sub create_ctree {
$tree->expand($c);
}
$tree->select($node);
- $tree->node_moveto($node, 0, 0.5, 0);
+ $tree->node_moveto($node, 0, 0.5, 0) if $tree->node_is_visible($node) ne 'full';
foreach (1 .. @l) {
if ($tree->node_nth($_) == $node) {