summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive_gtk.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-03-12 16:31:25 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-03-12 16:31:25 +0000
commitd9d5e2dd044c58873b8aed889b3cbc3ff05cde82 (patch)
treec7b2ee0e7ad1f9922548f33daf9379e58b836831 /perl-install/interactive_gtk.pm
parent01902997a0409272670235d060cae2e47bb20827 (diff)
downloaddrakx-d9d5e2dd044c58873b8aed889b3cbc3ff05cde82.tar
drakx-d9d5e2dd044c58873b8aed889b3cbc3ff05cde82.tar.gz
drakx-d9d5e2dd044c58873b8aed889b3cbc3ff05cde82.tar.bz2
drakx-d9d5e2dd044c58873b8aed889b3cbc3ff05cde82.tar.xz
drakx-d9d5e2dd044c58873b8aed889b3cbc3ff05cde82.zip
(ask_from_entries_refW): add $set for "label" entries
Diffstat (limited to 'perl-install/interactive_gtk.pm')
-rw-r--r--perl-install/interactive_gtk.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/interactive_gtk.pm b/perl-install/interactive_gtk.pm
index b7f84e6c8..e7a0efd4e 100644
--- a/perl-install/interactive_gtk.pm
+++ b/perl-install/interactive_gtk.pm
@@ -363,6 +363,7 @@ sub ask_from_entries_refW {
$get = sub { $w->get_active };
} elsif ($e->{type} eq 'label') {
$w = Gtk::Label->new(${$e->{val}});
+ $set = sub { $w->set($_[0]) };
} elsif ($e->{type} eq 'button') {
$w = Gtk::Button->new('');
$w->signal_connect(clicked => sub {