summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive_gtk.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-02-15 16:02:59 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-02-15 16:02:59 +0000
commit379e6d21597b558372120e69cabd621e1ded928e (patch)
tree7534dff5e923631c4ea51aa48ba5efefe565e5a9 /perl-install/interactive_gtk.pm
parent85d883c9a3c271749bb676dea11e9495d2421de9 (diff)
downloaddrakx-backup-do-not-use-379e6d21597b558372120e69cabd621e1ded928e.tar
drakx-backup-do-not-use-379e6d21597b558372120e69cabd621e1ded928e.tar.gz
drakx-backup-do-not-use-379e6d21597b558372120e69cabd621e1ded928e.tar.bz2
drakx-backup-do-not-use-379e6d21597b558372120e69cabd621e1ded928e.tar.xz
drakx-backup-do-not-use-379e6d21597b558372120e69cabd621e1ded928e.zip
force scalar for Gtk::Label->new with warp_text
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 d7f539b08..1ac97dfc8 100644
--- a/perl-install/interactive_gtk.pm
+++ b/perl-install/interactive_gtk.pm
@@ -792,7 +792,7 @@ sub wait_messageW($$$) {
my $w = my_gtk->new($title, %$o, grab => 1);
gtkadd($w->{window}, my $hbox = new Gtk::HBox(0,0));
$hbox->pack_start(my $box = new Gtk::VBox(0,0), 1, 1, 10);
- $box->pack_start($_, 1, 1, 4) foreach my @l = map { new Gtk::Label(warp_text($_)) } @$messages;
+ $box->pack_start($_, 1, 1, 4) foreach my @l = map { new Gtk::Label(scalar warp_text($_)) } @$messages;
($w->{wait_messageW} = $l[$#l])->signal_connect(expose_event => sub { $w->{displayed} = 1 });
$w->{rwindow}->set_position('center') if ($::isStandalone && (!$::isEmbedded && !$::isWizard || $my_gtk::pop_it));