r15713 - gnucash/trunk - Add help support on Windows by using the HtmlHelp API.

Andreas Köhler andi5 at cvs.gnucash.org
Tue Mar 13 21:00:07 EDT 2007


Author: andi5
Date: 2007-03-13 21:00:06 -0400 (Tue, 13 Mar 2007)
New Revision: 15713
Trac: http://svn.gnucash.org/trac/changeset/15713

Added:
   gnucash/trunk/src/app-utils/gnc-help-utils.c
   gnucash/trunk/src/app-utils/gnc-help-utils.h
Modified:
   gnucash/trunk/configure.in
   gnucash/trunk/src/app-utils/Makefile.am
   gnucash/trunk/src/gnc-ui.h
   gnucash/trunk/src/gnome-utils/gnc-gnome-utils.c
Log:
Add help support on Windows by using the HtmlHelp API.

Find the correct CHM file according to the active locale and call
gnc_show_help in src/app-utils/gnc-help-utils.[ch].  These new files
were necessary because <windows.h> does not like things like GUID.  If
no htmlhelp.h was found, spawn hh to show the chm file.  Otherwise parse
the GKeyFile ending on .hhmap to determine a numeric ID for the given
anchor and use HtmlHelpW.




More information about the gnucash-patches mailing list