summaryrefslogtreecommitdiffstats
path: root/perl-install/install_gtk.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-08-26 13:58:33 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-08-26 13:58:33 +0000
commitca09a25a2290e8d2bf69cd17a9492737944cab01 (patch)
treeabdffaaf5cc3d640895cccf577dd3bd085477855 /perl-install/install_gtk.pm
parent5ba2fc39a65b760dc3a552ab82896c80c22d94ca (diff)
downloaddrakx-ca09a25a2290e8d2bf69cd17a9492737944cab01.tar
drakx-ca09a25a2290e8d2bf69cd17a9492737944cab01.tar.gz
drakx-ca09a25a2290e8d2bf69cd17a9492737944cab01.tar.bz2
drakx-ca09a25a2290e8d2bf69cd17a9492737944cab01.tar.xz
drakx-ca09a25a2290e8d2bf69cd17a9492737944cab01.zip
(create_steps_window) leave around references on text widget and on unmarked text for steps
Diffstat (limited to 'perl-install/install_gtk.pm')
-rw-r--r--perl-install/install_gtk.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install_gtk.pm b/perl-install/install_gtk.pm
index 5cc8ab7ae..ce7661f13 100644
--- a/perl-install/install_gtk.pm
+++ b/perl-install/install_gtk.pm
@@ -140,7 +140,8 @@ sub create_steps_window {
}
my $img = gtknew('Image', file => 'steps_off.png');
$steps{steps}{$_}{img} = $img;
- push @l, gtknew('HBox', spacing => 7, children_tight => [ '', '', $img, translate($o->{steps}{$_}{text}) ]);
+ $steps{steps}{$_}{raw_text} = translate($o->{steps}{$_}{text});
+ push @l, gtknew('HBox', spacing => 7, children_tight => [ '', '', $img, $steps{steps}{$_}{text} = gtknew('Label', text => $steps{steps}{$_}{raw_text}) ]);
}
my $offset = 20;