summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive/gtk.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-07-07 11:31:29 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-07-07 11:31:29 +0000
commita5e3ff70e547de3dc2d2bd32f06b7eaa16b8b422 (patch)
tree832649ebe5f6bb35aeba63153b6253725b1e2c66 /perl-install/interactive/gtk.pm
parent6eef70de886b7130f8e5e308778dc48f800f3dda (diff)
downloaddrakx-a5e3ff70e547de3dc2d2bd32f06b7eaa16b8b422.tar
drakx-a5e3ff70e547de3dc2d2bd32f06b7eaa16b8b422.tar.gz
drakx-a5e3ff70e547de3dc2d2bd32f06b7eaa16b8b422.tar.bz2
drakx-a5e3ff70e547de3dc2d2bd32f06b7eaa16b8b422.tar.xz
drakx-a5e3ff70e547de3dc2d2bd32f06b7eaa16b8b422.zip
Gtk2::CheckButton does not support stock item (gc)
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 f3af1e0b9..b636cc0c2 100644
--- a/perl-install/interactive/gtk.pm
+++ b/perl-install/interactive/gtk.pm
@@ -419,7 +419,7 @@ sub ask_fromW {
if ($e->{image}) {
$w = gtkadd(Gtk2::CheckButton->new, gtkshow(gtkcreate_img($e->{image})));
} else {
- $w = Gtk2::CheckButton->new_from_stock($e->{text});
+ $w = Gtk2::CheckButton->new($e->{text});
}
$w->signal_connect(clicked => $changed);
$set = sub { $w->set_active($_[0]) };