Re: PATCH for help-browser



On Tue, 31 Aug 1999, Elliot Lee wrote:

> On Wed, 1 Sep 1999, Martin Hawlisch wrote:
> 
> > Attached you can find a patch for the GNOME help-browser (latest CVS
> > version from HEAD branch).
> > What it does is the following:
> > Currently in toc:ghelp only packges are listed that put a index.html file
> > into their subdir.
> > Some apps like gnumeric and gnomecal do have helpfiles but not a
> > index.html.
> > I modified toc2-ghelp.c that generates the entries to also read the
> > topic.dat file and extract the first helpfile name.
> > My extension is basically a cut and paste from toc2-ghelp.c and the
> > gnome-app-helper.c files.
> > 
> > Hope you like it.
> > 
> > ... Or shoud we force the apps to install a index.html file?
> 
> Can your patch do 'link to index.html if it exists, else use topic.dat'?
> This would be nice as sort of a fallback in gnome-help-browser, even
> though all apps should install an index.html file.

Yes, only if the index.html does not exist the topic.dat is used as a
fallback.
The index.html stuff is not changed. I only added the fallback.


 Cheers, Martin.

          __ ___ *                       _  _
  |\/| /\ |_) |  ||\ |  |_| /\\    /|  |(_`|  |_|
  |  |/--\| \ |  || \|  | |/--\\/\/ |_ |._)|_ | |
      mailto:hawlisch@roxi.rz.fh-mannheim.de
     http://freddy.rz.fh-mannheim.de/~hawlisch




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]