summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-07-18 19:59:16 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-07-18 19:59:16 +0000
commite503995888c8fb7ab797b667e8a075ffd5f3c29a (patch)
tree9db7ce00248e19acd2f54aa969cbbc3220585b46
parentb55ebe3c83e94e30b384135664f1d946df91b9b1 (diff)
downloaddrakx-e503995888c8fb7ab797b667e8a075ffd5f3c29a.tar
drakx-e503995888c8fb7ab797b667e8a075ffd5f3c29a.tar.gz
drakx-e503995888c8fb7ab797b667e8a075ffd5f3c29a.tar.bz2
drakx-e503995888c8fb7ab797b667e8a075ffd5f3c29a.tar.xz
drakx-e503995888c8fb7ab797b667e8a075ffd5f3c29a.zip
only catch real wrong callees
-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 eafbf1122..db5327981 100644
--- a/perl-install/interactive/gtk.pm
+++ b/perl-install/interactive/gtk.pm
@@ -408,7 +408,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};
+ 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->signal_connect(clicked => $changed);