Re: GObject in the Engine example

2007-01-11 Thread Daniel Espinosa
2007/1/11, Chris Shoemaker <[EMAIL PROTECTED]>: > Just some comments from a brief look... > > 1) What's with GdaBinary? > Its a mistake, I had copy some code to declare a GdaBinary as a G_TYPE_BOXED derived type, and I forgot to update this reference must be GncNumeric. > 2) Why don't the Accoun

Re: GObject in the Engine example

2007-01-11 Thread Chris Shoemaker
Just some comments from a brief look... 1) What's with GdaBinary? 2) Why don't the Account and Split inherit from the GncObject? Consider the ->inst struct members. These should be the parent GObject. 3) With inheritance, can't you avoid the mulitple foo_set_qof_book implementations?

Re: Slightly smarter date parsing?

2007-01-11 Thread Conrad Canterford
On Tue, 2007-01-09 at 09:55 -0800, Andrew Sackville-West wrote: > On Tue, Jan 09, 2007 at 07:11:21AM +0100, Manfred Usselmann wrote: > > Since I often enter data for the same accounting period and assume a > > lot of people do, my suggestion is to use the date from the last > > entered / changed tr

Re: Slightly smarter date parsing?

2007-01-11 Thread Aaron Larson
> "MU" == Manfred Usselmann <[EMAIL PROTECTED]> writes: MU> Since I often enter data for the same accounting period and assume a MU> lot of people do, my suggestion is to use the date from the last MU> entered / changed transaction to complete an partial entered date: MU> - If only the day i