org.gnucash.gnucash.plist in fact (no G)
Well, I can confirm that despite all my efforts, my pref is absent from that file. Does this need to be removed for a pref to be added? (I'm guessing not). I'm at a loss to find out what's going on...


On 3/12/20 3:52 PM, John Ralls wrote:


On Mar 12, 2020, at 3:37 PM, Jean Laroche <rip...@gmail.com> wrote:

you saw
https://wiki.gnucash.org/wiki/Adding_Preferences?

Well, it looks like this is out of date.
For example src/gnome-utils/gtkbuilder/dialog-preferences.glade no longer 
exists.
I can only see:
./gnucash/gtkbuilder/dialog-preferences.glade
./share/gnucash/gtkbuilder/dialog-preferences.glade

Following the instructions as best as I could, I'm still unable to make it work. I'm not 
sure what to do next. I'm replicating exactly what is done for the 
"enter-moves-to-end" preference, yet the pref does not work.
Where is the actual preference file located? (i.e., where gnucash saves its 
pref for the next time it opens). I haven't been able to locate it, despite the 
indications found in the wiki...

Yes, it's a bit out of date. The source file is 
gnucash-git/gnucash/gtkbuilder/dialog-preferences.glade and it's moved to 
build_dir/share/gnucash/gtkbuilder/dialog-preferences.glade by make/ninja and 
installed in $PREFIX/share/gnucash/gtkbuilder/dialog-preferences.glade.

On MacOS application preferences are written to plists in 
~/Library/Preferences. Ours is named org.gnucash.Gnucash.plist.

Regards,
John Ralls

_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to