From a9322a96c9306c5db93da87686642c99c98b9faf Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Wed, 4 Nov 2009 16:45:53 +0000 Subject: partitioning wizard: only display Help button in install --- perl-install/NEWS | 3 +++ perl-install/fs/partitioning_wizard.pm | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/perl-install/NEWS b/perl-install/NEWS index 61da9c323..5a3c11b81 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,6 @@ +- partitioning wizard: + o only display Help button in install + Version 12.77 - 30 October 2009 - harddrake service: do not try to reconfigure xorg driver and crash diff --git a/perl-install/fs/partitioning_wizard.pm b/perl-install/fs/partitioning_wizard.pm index 09bbbfcb3..2a354bfaf 100644 --- a/perl-install/fs/partitioning_wizard.pm +++ b/perl-install/fs/partitioning_wizard.pm @@ -539,10 +539,11 @@ sub main { }); my @more_buttons = ( + if_($::isInstall, [ gtknew('Install_Button', text => N("Help"), clicked => sub { interactive::gtk::display_help($o, {interactive_help_id => 'doPartitionDisks' }, $mainw) }), - undef, 1 ], + undef, 1 ]), ); my $buttons_pack = $mainw->create_okcancel(N("Next"), undef, '', @more_buttons); $mainbox->pack_end($buttons_pack, 0, 0, 0); -- cgit v1.2.1