There have been some changes in how the engine is selected. Look in the source tree at src/html/gnc-html-factory.c. There is a single function, gnc_html_factory_create_html() which creates an instance of the appropriate constructor. My first version used #if's to select the constructor. I then changed to an external GNC_HTML environment variable, then changed to the --enable-webkit config value.
BTW, what tells you that you are still using gtkhtml? Phil ________________________________ From: Chris Dennis <cgden...@btinternet.com> To: Phil Longstaff <plongst...@rogers.com> Cc: Gnucash list <gnucash-de...@lists.gnucash.org> Sent: Tuesday, March 31, 2009 1:46:30 PM Subject: Re: Webkit status (updated) Phil Longstaff wrote: > On March 31, 2009 05:14:31 am Chris Dennis wrote: > > Hello Phil > > > > Phil Longstaff wrote: > > > Hi Chris, > > > > > > as an alternative to webkit, I was also looking at whether gecko would > > > be a better engine. It looks about the same as webkit as far as > > > maturity is concerned. > > > > > > Anyway, modify Makefile.am and remove references to > > > gnc-html-gtkmozembed.c. You'll then need to run autogen.sh and > > > configure again. This will ensure that file won't be compiled. I'm > > > going to commit some changes to remove those files in the near future. > > > > OK, I've done that, and compiled your version. But the reports are > > still generated via GtkHTML. Is there something that needs to be done > > to a report to make it use Webkit? > > > It's not the report, it's how gnucash is compiled. With the changes I > committed last night, you need to add '--enable-webkit' to the 'configure' > command. You also need to ensure you have the webkit libraries and include > files installed. > > > What distro are you running? What version of webkit? > > > Phil I hadn't used '--enable-webkit' in the configure step, so I reconfigured with that, and recompiled etc., but reports are still using GtkHTML. The complete configure command I used was: ./configure --prefix=/usr/local/gnucash-webkit --enable-webkit \ --enable-debug --enable-doxygen --enable-error-on-warning \ --enable-compile-warnings I'm using Ubuntu Intrepid, and the webkit packages I added to make the compilation work are libwebkit-1.0-1 and libwebkit-dev, both version 1.0.1-2ubuntu0.1. I'm using version 18011 of the webkit branch of Gnucash. cheers Chris -- Chris Dennis cgden...@btinternet.com Fordingbridge, Hampshire, UK _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel