summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-13 12:00:36 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-13 12:00:36 +0000
commit136c59737310c46e3e736786ad3c6dca9b3725a8 (patch)
treeba83bd12bc0eeedad351ba7e9897ff5408880f57 /perl-install/interactive
parentf3e304fafab539ecd097dbc3a45621c873eb984f (diff)
downloaddrakx-136c59737310c46e3e736786ad3c6dca9b3725a8.tar
drakx-136c59737310c46e3e736786ad3c6dca9b3725a8.tar.gz
drakx-136c59737310c46e3e736786ad3c6dca9b3725a8.tar.bz2
drakx-136c59737310c46e3e736786ad3c6dca9b3725a8.tar.xz
drakx-136c59737310c46e3e736786ad3c6dca9b3725a8.zip
- {interactive_help} is a function returning text, it doesn't need to do the help window
- drop global interactive_help during install. Will be done per ->ask_*
Diffstat (limited to 'perl-install/interactive')
-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 be7d634c5..f7d934fa0 100644
--- a/perl-install/interactive/gtk.pm
+++ b/perl-install/interactive/gtk.pm
@@ -637,7 +637,7 @@ sub ask_fromW {
0, Gtk2::HSeparator->new,
1, $create_widgets->($advanced_total_size, @widgets_advanced));
- my $buttons_pack = ($common->{ok} || !exists $common->{ok}) && $mainw->create_okcancel($common->{ok}, $common->{cancel}, '', if_($common->{interactive_help}, [ N("Help"), $common->{interactive_help}, 1 ]), if_(@$l2, $advanced_button));
+ my $buttons_pack = ($common->{ok} || !exists $common->{ok}) && $mainw->create_okcancel($common->{ok}, $common->{cancel}, '', if_($common->{interactive_help}, [ N("Help"), sub { $o->ask_warn(N("Help"), $common->{interactive_help}->()) }, 1 ]), if_(@$l2, $advanced_button));
$pack->pack_start($always_pack, 1, 1, 0); $always_pack->show;
$pack->pack_start($advanced_pack, 1, 1, 0);