diff options
author | Daouda Lo <daouda@mandriva.com> | 2003-08-27 17:48:12 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2003-08-27 17:48:12 +0000 |
commit | 26fdeafc4d28f5f3043852dad6d93921dcc732ce (patch) | |
tree | 17df470643adc0773eee45b8cab2b8d0409ba1e8 | |
parent | 08f81d05201ba7c6b93fe093067ed5348c0d8c46 (diff) | |
download | control-center-26fdeafc4d28f5f3043852dad6d93921dcc732ce.tar control-center-26fdeafc4d28f5f3043852dad6d93921dcc732ce.tar.gz control-center-26fdeafc4d28f5f3043852dad6d93921dcc732ce.tar.bz2 control-center-26fdeafc4d28f5f3043852dad6d93921dcc732ce.tar.xz control-center-26fdeafc4d28f5f3043852dad6d93921dcc732ce.zip |
- new drakhelp args
-rwxr-xr-x | control-center | 7 |
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]; } |