Commit 426aa73e authored by Philip Langdale's avatar Philip Langdale Committed by Philip Langdale

Reviewed by John Fleck <jfleck@inkstain.net> (Bug 60511)

2001-09-21  Philip Langdale  <philipl@mail.utexas.edu>

        * Reviewed by John Fleck <jfleck@inkstain.net> (Bug 60511)
        * components/help/converters/gnome-info2html2/html.c
        * components/help/converters/gnome-info2html2/html.h
        * components/help/converters/gnome-info2html2/main.c: Added optional
        "galeon mode" invoked with -g command line param. This involves writing
        fully qualified info: hrefs instead of just the #nodename target,
        which appears to me to be a bug, but might have negative effects on
        nautilus. It also uses ? queries instead of # refs when forming hrefs.
parent bb27ea93
2001-09-21 Philip Langdale <philipl@mail.utexas.edu>
* Reviewed by John Fleck <jfleck@inkstain.net> (Bug 60511)
* components/help/converters/gnome-info2html2/html.c
* components/help/converters/gnome-info2html2/html.h
* components/help/converters/gnome-info2html2/main.c: Added optional
"galeon mode" invoked with -g command line param. This involves writing
fully qualified info: hrefs instead of just the #nodename target,
which appears to me to be a bug, but might have negative effects on
nautilus. It also uses ? queries instead of # refs when forming hrefs.
2001-09-20 Darin Adler <darin@bentspoon.com>
* components/help/hyperbola-nav-index.c:
......
2001-09-21 Philip Langdale <philipl@mail.utexas.edu>
* components/help/converters/gnome-info2html2/html.c
* components/help/converters/gnome-info2html2/html.h
* components/help/converters/gnome-info2html2/main.c: Added optional
"galeon mode" invoked with -g command line param. This involves writing
fully qualified info: hrefs instead of just the #nodename target,
which appears to me to be a bug, but might have negative effects on
nautilus. It also uses ? queries instead of # refs when forming hrefs.
2001-09-20 Darin Adler <darin@bentspoon.com>
* gnome-db2html2/gdb3html.h: Change libxml includes to use
......
......@@ -25,6 +25,8 @@ int inTable=0;
char *BaseFilename=NULL;
char *OverrideBaseFilename=NULL;
int galeon_mode=0;
/* prototypes */
char *form_info_tag_href( char *nodefile, char *nodename );
int make_Top_link( char *destdir, char *destfile );
......@@ -53,7 +55,10 @@ char *form_info_tag_href( char *nodefile, char *nodename )
else
filename = nodefile;
g_snprintf (tmp, sizeof (tmp), "HREF=\"#%s\"", escaped_nodename);
if (galeon_mode)
g_snprintf (tmp, sizeof (tmp), "HREF=\"info:%s?%s\"", filename, escaped_nodename);
else
g_snprintf (tmp, sizeof (tmp), "HREF=\"#%s\"", escaped_nodename);
if (escaped_nodename)
g_free(escaped_nodename);
......
......@@ -9,6 +9,8 @@
extern char *BaseFilename;
extern char *OverrideBaseFilename;
extern int galeon_mode;
void dump_html_for_node( NODE *node );
void open_body_text_html( FILE *f );
......
......@@ -29,6 +29,7 @@ static char *requested_nodename=NULL;
static struct poptOption options[] = {
{NULL, 'a', POPT_ARG_STRING, &requested_nodename},
{NULL, 'b', POPT_ARG_STRING, &OverrideBaseFilename},
{NULL, 'g', POPT_ARG_NONE, &galeon_mode},
{NULL}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment