summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive_gtk.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-03-12 16:08:25 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-03-12 16:08:25 +0000
commit4c01fcc2ee46d5420c1e9ad8530b34e23dc6830c (patch)
treef95eba763ece1363f4a2a750d5b2d9f9a9ae79b4 /perl-install/interactive_gtk.pm
parent758b8a5f81916ee983f8a5f2efa400f7ab151fce (diff)
downloaddrakx-4c01fcc2ee46d5420c1e9ad8530b34e23dc6830c.tar
drakx-4c01fcc2ee46d5420c1e9ad8530b34e23dc6830c.tar.gz
drakx-4c01fcc2ee46d5420c1e9ad8530b34e23dc6830c.tar.bz2
drakx-4c01fcc2ee46d5420c1e9ad8530b34e23dc6830c.tar.xz
drakx-4c01fcc2ee46d5420c1e9ad8530b34e23dc6830c.zip
add "label" type
Diffstat (limited to 'perl-install/interactive_gtk.pm')
-rw-r--r--perl-install/interactive_gtk.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/interactive_gtk.pm b/perl-install/interactive_gtk.pm
index db4064625..b7f84e6c8 100644
--- a/perl-install/interactive_gtk.pm
+++ b/perl-install/interactive_gtk.pm
@@ -361,6 +361,8 @@ sub ask_from_entries_refW {
$w->signal_connect(clicked => $changed);
$set = sub { $w->set_active($_[0]) };
$get = sub { $w->get_active };
+ } elsif ($e->{type} eq 'label') {
+ $w = Gtk::Label->new(${$e->{val}});
} elsif ($e->{type} eq 'button') {
$w = Gtk::Button->new('');
$w->signal_connect(clicked => sub {