diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-07-17 16:50:31 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-07-17 16:50:31 +0000 |
commit | 187adf95efa342c5b70306087fa039fc13338010 (patch) | |
tree | e00632c3d8f7b64ab6defdfaba74c0d8e1008708 /perl-install/interactive | |
parent | a7efa834619943e29fb8b0c80315eda40f1a853e (diff) | |
download | drakx-187adf95efa342c5b70306087fa039fc13338010.tar drakx-187adf95efa342c5b70306087fa039fc13338010.tar.gz drakx-187adf95efa342c5b70306087fa039fc13338010.tar.bz2 drakx-187adf95efa342c5b70306087fa039fc13338010.tar.xz drakx-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.pm | 1 |
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); |