Crash gnome-2

2003-09-08 Thread Tony Watts
Hi I get the following error when selecting the accounts to include from the druid. ** ERROR **: file gnc-tree-model-account.c: line 1172 (gnc_tree_model_account_set_root): should not be reached David's comments says /* * DRH - THIS FUNCTION SHOULD BE REMOVED. * * This function is from befo

Re: Commitment to gnome2 port

2003-09-04 Thread Tony Watts
Jon Lapham wrote: Of course, this doesn't deal with whether the next release should include the gnome2 port or not. But, I'll bet that is what you meant. Right? Yeah that is what I meant, my post wasnt so clear. Am I right in thinking that most of the development that goes on is on the backe

Re: Commitment to gnome2 port

2003-09-04 Thread Tony Watts
Jon Lapham wrote: Tony Watts wrote: Anyhow, I am running the gnome2 branch and trying to find any problems that I can solve. If you want me to look at the dialog question I can, surely it cant be that hard! I think you may have missed my point, or more likely I didn't make it well.

Re: Commitment to gnome2 port

2003-09-04 Thread Tony Watts
I am trying to get involved in the gnome2 port. I think it should be part of the v2 release (be nice with the numbering too). Legacy support would probably be good to. Am I right in thinking that most of the development that goes on is on the backend and that the interface doesnt change at a ve

[G2] Compile error gnc_options_ui_initialize

2003-09-02 Thread Tony Watts
Hi I am compiling the gnome2 branch from CVS. I get the error below, I notice the function is in src/gnome-utils/dialog-options.c but missing from dialog-options.h I have inserted a definition in the .h and it now compiles. Is this the correct fix or should a different function be used. gncmod-gno

Fix for compile libgnomeprint2.2 (2.0 compat)

2003-08-21 Thread Tony Watts
Hi Here is a fix which should check for the version of libgnomeprint (2.0 or 2.2) in configure. It then puts in the appropriate code in the gnome-utils/print-session.h and gnome-utils/print-session.c Note that it just replaces the 2.0 functions with 2.2 functions. I haven't actually got anythi

Re: problems compiling gnucash (gnucash-gnome2-dev branch)

2003-08-20 Thread Tony Watts
OK, so now I have finished a little test for the gnome print library version and #if'd the code. But I have a question, does the printing actually work at all on gnome 2? Has anyone got it to work? My fix is not any use if it just fixes the compile time problems. On selecting print from the fil

Re: problems compiling gnucash (gnucash-gnome2-dev branch)

2003-08-18 Thread Tony Watts
Yada Yuk wrote: Hi Thomas According to this thread (http://lists.debian.org/debian-devel/2003/debian-devel-200301/msg01488.html) gnome-print-master.h has been moved to gnome-print-job.h in libgnomeprint-2.2. My guess is that GnomePrintMaster has become GnomePrintJob. I edited src/gnome-utils/prin

Re: problems compiling gnucash (gnucash-gnome2-dev branch)

2003-08-17 Thread Tony Watts
Derek Atkins wrote: You need to add a configure test and #ifdef the code based on whether you find 2.0 or 2.2. Tony [patch snipped] This patch only replaced 2.0 with 2.2, which is not sufficient. You'll need to use some #ifdefs based on a proper test in configure.in. -derek I will give this

Re: problems compiling gnucash (gnucash-gnome2-dev branch)

2003-08-17 Thread Tony Watts
Hi folks How about this one? Give it a go Thomas and let me know if it works. (dont know if I am supposed/allowed to post patches to this list?) Derek, regarding whether it is essential it is the printer interface, which changed from 2.0. I am not certain but I think RH 9 comes with 2.0. Anywa

Re: problems compiling gnucash (gnucash-gnome2-dev branch)

2003-08-17 Thread Tony Watts
Thomas Viehmann wrote: Hi. Tony Watts wrote: print-session.h:31:46: libgnomeprint/gnome-print-master.h: No such In 2.2 the API changed, you need to change "Master" to "Job" in the print files for GNUCash and change any calls to libgnomeprint to reflect any differences in

Re: problems compiling gnucash (gnucash-gnome2-dev branch)

2003-08-17 Thread Tony Watts
Thomas Viehmann wrote: I didn't get it to compile, either, though, I'm at the following, but didn't investigate yet why libgnomeprint2.2-dev doesn't seem to have gnome-print-master. In file included from gnc-html.c:48: print-session.h:31:46: libgnomeprint/gnome-print-master.h: No such file or d

GNUCash plus Gnome 2

2003-08-14 Thread Tony Watts
Hi all I downloaded the branch that Tom started for Gnome 2, with just a little fiddle with then gnome-print (master->job and changing a couple of functions) I got it to work with gnome 2.2.1. Anyhow, I am experimenting with the program (I am quite new to it), is there anything that there is a kno