r22398 - gnucash/trunk/src/bin - Parse arguments before initializing GTK so --add-price-quotes works
Mike Alexander
mta at umich.edu
Wed Sep 19 23:35:50 EDT 2012
--On September 19, 2012 9:13:27 PM +0200 Geert Janssens
<janssens-geert at telenet.be> wrote:
> Well, I interpreted things wrongly. The user confirmed that file
> loading still works with Mike's changes. So there's no need to do
> some special casing. GOption is handling things perfectly fine. It
> must have been some other change that came from the libgnome removal
> that fixed the file loading issue. Since it works now, I have no
> intention to look further.
>
I'm glad it works. I wasn't looking forward to changing it again. I
see that you also cleaned up my code a bit, which is fine. It's better
with your changes.
Another thing that might be done is to move the command line parsing
back inside the gnucash_command_line function which is where it was
before the libgnome removal. Either that or rename that function since
it doesn't really have much to do with command line parsing now.
Mike
More information about the gnucash-devel
mailing list