Save to URI [Was: Re: gda-dev does not compile]

Derek Atkins warlord at MIT.EDU
Sat Dec 23 15:06:48 EST 2006

Quoting Mark Johnson <mrj001 at>:

> Sigh, I couldn't resist the temptation...  I started looking into this.
> First, I thought I had found something when I found the function
> gtk_file_chooser_set_local_only, but the wretched dialog insists on
> trying to display the directory of the entered URI when one clicks
> Save.  Naturally, such a directory does not exist.  Entering
> gda://AnActualConection results in an error.
> That confirms we can't use the File Chooser.

Kinda thought so.  :(

> What's the best way to recompile gnucash after changing just one source
> file?  When I typed make, it seemed to take forever.  Then "make
> install" was only a partial install.  Clearly, this wasn't the way to go.

make -C changed/dir all install

This will only recompile the one directory with the changed file.
Unless you actually change a .h file, this is safe 99% of the time.

> I'm looking at 1.8.12 code now to see how it handled the dialog.

I wonder if we could subclass the GtkFileChooser widget?  I have
no idea how much work that would be.

> Mark


       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL:    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available

More information about the gnucash-devel mailing list