From 507001d6ce6e3d463f80d312cce7cc54676125bb Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 28 Dec 2012 01:20:38 +0000 Subject: adapt to new help layout (mga#5634) --- perl-install/install/NEWS | 2 ++ perl-install/install/steps_gtk.pm | 8 ++++---- perl-install/install/steps_interactive.pm | 4 ++-- 3 files changed, 8 insertions(+), 6 deletions(-) (limited to 'perl-install/install') diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 4807ab5f2..68d96f6e9 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,3 +1,5 @@ +- adapt to new help layout (mga#5634) + Version 15.15 - 24 December 2012 - drakx-in-chroot: diff --git a/perl-install/install/steps_gtk.pm b/perl-install/install/steps_gtk.pm index 24588cbc6..c52038fcb 100644 --- a/perl-install/install/steps_gtk.pm +++ b/perl-install/install/steps_gtk.pm @@ -313,7 +313,7 @@ sub reallyChooseDesktop { clicked => sub { interactive::gtk::display_help( $o, - { interactive_help_id => 'choosePackages#choose-graphical-env' }, $w); + { interactive_help_id => 'chooseDesktop' }, $w); }), undef, 1 ]) ])); $w->main; @@ -355,7 +355,7 @@ sub reallyChooseGroups { 0, Gtk2::HSeparator->new, 0, gtknew('HButtonBox', layout => 'edge', children_tight => [ gtknew('Install_Button', text => N("Help"), clicked => sub { - interactive::gtk::display_help($o, { interactive_help_id => 'choosePackages#choosePackagesGroups' }, $w) }), + interactive::gtk::display_help($o, { interactive_help_id => 'choosePackageGroups' }, $w) }), gtknew('Button', text => N("Unselect All"), clicked => sub { $_->set_active(0) foreach @entries }), gtknew('Button', text => N("Next"), clicked => sub { Gtk2->main_quit }), ]), @@ -512,7 +512,7 @@ sub choosePackagesTree { interactive::gtk::display_help($o, { interactive_help_id => # FIXME: missing ref to upper window: - 'choosePackages#choosePackagesTree' }, my $w) }, + 'choosePackagesTree' }, my $w) }, ok => N("Install"), cancel => N("Previous"), @@ -791,7 +791,7 @@ It will then continue from the hard disk drive and the packages will remain avai ), 0, gtknew('HButtonBox', layout => 'edge', children_tight => [ gtknew('Install_Button', text => N("Help"), clicked => sub { - interactive::gtk::display_help($o, { interactive_help_id => 'choosePackages' }, $w) }), + interactive::gtk::display_help($o, { interactive_help_id => 'choosePackagesTree' }, $w) }), gtknew('Button', text => N("Next"), clicked => sub { Gtk2->main_quit }), ]), ]), diff --git a/perl-install/install/steps_interactive.pm b/perl-install/install/steps_interactive.pm index a0f2d203f..1c549ca4c 100644 --- a/perl-install/install/steps_interactive.pm +++ b/perl-install/install/steps_interactive.pm @@ -600,7 +600,7 @@ sub offer_minimal_options { $o->ask_from_({ title => N("Type of install"), message => N("You have not selected any group of packages. Please choose the minimal installation you want:"), - interactive_help_id => 'choosePackages#minimal-install' + interactive_help_id => 'minimal-install' }, [ { val => \$o->{rpmsrate_flags_chosen}{CAT_X}, type => 'bool', text => N("With X"), disabled => sub { $minimal } }, @@ -631,7 +631,7 @@ sub reallyChooseGroups { my ($path, $all); $o->ask_from_({ messages => N("Package Group Selection"), - interactive_help_id => 'choosePackages', + interactive_help_id => 'choosePackageGroups', }, [ { val => \$size_text, type => 'label' }, {}, (map { -- cgit v1.2.1