summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-09-16 13:46:47 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-09-16 13:46:47 +0000
commit0b1827d31f95db926d378031db175eb01d949ece (patch)
tree3f4359b24e3fe48459dee0b00d6456d0cdd2e407
parent11a130156ce7f032d5f412eca2661a4e4a593f49 (diff)
downloaddrakx-backup-do-not-use-0b1827d31f95db926d378031db175eb01d949ece.tar
drakx-backup-do-not-use-0b1827d31f95db926d378031db175eb01d949ece.tar.gz
drakx-backup-do-not-use-0b1827d31f95db926d378031db175eb01d949ece.tar.bz2
drakx-backup-do-not-use-0b1827d31f95db926d378031db175eb01d949ece.tar.xz
drakx-backup-do-not-use-0b1827d31f95db926d378031db175eb01d949ece.zip
Gtk2::CheckButton->new is Gtk2::CheckButton->new_with_mnemonic, it's better to use Gtk2::CheckButton->new_with_label (bug #5728)
-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 fa78bb364..5dec46e09 100644
--- a/perl-install/interactive/gtk.pm
+++ b/perl-install/interactive/gtk.pm
@@ -409,7 +409,7 @@ sub ask_fromW {
$w = gtkadd(Gtk2::CheckButton->new, gtkshow(gtkcreate_img($e->{image})));
} else {
#- warn "\"text\" member should have been used instead of \"label\" one at:\n", common::backtrace(), "\n" if $e->{label} && !$e->{text};
- $w = Gtk2::CheckButton->new($e->{text});
+ $w = Gtk2::CheckButton->new_with_label($e->{text});
}
$w->signal_connect(clicked => $changed);
$set = sub { $w->set_active($_[0]) };