summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-07-17 16:50:31 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-07-17 16:50:31 +0000
commit187adf95efa342c5b70306087fa039fc13338010 (patch)
treee00632c3d8f7b64ab6defdfaba74c0d8e1008708 /perl-install/interactive
parenta7efa834619943e29fb8b0c80315eda40f1a853e (diff)
downloaddrakx-backup-do-not-use-187adf95efa342c5b70306087fa039fc13338010.tar
drakx-backup-do-not-use-187adf95efa342c5b70306087fa039fc13338010.tar.gz
drakx-backup-do-not-use-187adf95efa342c5b70306087fa039fc13338010.tar.bz2
drakx-backup-do-not-use-187adf95efa342c5b70306087fa039fc13338010.tar.xz
drakx-backup-do-not-use-187adf95efa342c5b70306087fa039fc13338010.zip
intercept buggy callees/users of bool type that wrongly pass label
instead of text
Diffstat (limited to 'perl-install/interactive')
-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 adfc66ac7..b202cf2e4 100644
--- a/perl-install/interactive/gtk.pm
+++ b/perl-install/interactive/gtk.pm
@@ -411,6 +411,7 @@ sub ask_fromW {
if ($e->{image}) {
$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};
$w = Gtk2::CheckButton->new($e->{text});
}
$w->signal_connect(clicked => $changed);