summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcontrol-center7
1 files changed, 3 insertions, 4 deletions
diff --git a/control-center b/control-center
index 5e377112..6bc7e403 100755
--- a/control-center
+++ b/control-center
@@ -271,8 +271,7 @@ my $window_global = gtkset_size_request(Gtk2::Window->new('toplevel'), $global_w
my $pending_app = 0;
-my $path2help = "Drakxtools-Guide.html/";
-my $help_on_context = $path2help . "drakconf-intro.html";
+my $help_on_context = 'drakconf-intro';
#Please replace with correct contextual help page
my @ctx = qw(drakconf-intro drakfloppy harddrake diskdrake internet-connection draksec userdrake software-management wiz-client);
@@ -324,7 +323,7 @@ my @menu_items = (
[ N("/_Themes").N("/_More themes"), undef, \&more_themes, undef, '<Item>' ]
),
[ N("/_Help"), undef, undef, undef, '<Branch>' ],
- [ N("/_Help").N("/_Help"), undef, sub { fork_("drakhelp $help_on_context") }, undef, '<StockItem>', 'gtk-help' ],
+ [ N("/_Help").N("/_Help"), undef, sub { fork_("drakhelp --id $help_on_context") }, undef, '<StockItem>', 'gtk-help' ],
[ N("/_Help").N("/_Report Bug"), undef, sub { fork_("drakbug --report drakconf &") }, undef, '<Item>' ],
[ N("/_Help").N("/_About..."), undef, \&about_mdk_cc, undef, '<Item>' ]
);
@@ -917,7 +916,7 @@ sub set_page {
my ($index) = @_;
update_exp();
$notebook_global->set_current_page($index);
- $help_on_context = $path2help . $ctx[$index] . ".html";
+ $help_on_context = $ctx[$index];
}