GSettings again

Derek Atkins warlord at MIT.EDU
Mon Feb 25 11:22:18 EST 2013

Christian Stimming <christian at> writes:

> Am Sonntag, 24. Februar 2013, 11:08:14 schrieb Geert Janssens:
>> Other than these, I don't see any issues that would prevent this from
>> being implemented rather sooner than later.
> Very good. If GSettings is gtk's replacement for GConf, we should use
> it. I would not recommend starting our own wrapper or replacement of
> such a preference function. I would also not recommend going for ini
> files because in that case we have to deal with locking and multi-app
> access issues on our own as well, which are always painful to deal
> with.

I'm not sure why multi-app access would be an issue for GnuCash
preference files.  I wouldn't expect other applications to access the
gnucash prefs.  As for locking, I think it would only be an issue for
the per-data-file prefs, but in that case we already have to lock the
data file so not an issue.  Are you worried about someone running
multiple instances of gnucash simultaneously?

However, it is certainly the case that GnuCash stores data in the system
preferences for 'hidden' preferences, like the register column widths.
That data can currently be accessed and reset via gconf-settings, so I
think it might remain important to provide some out-of-gnucash access to
the saved prefs.  Having said that, however, I think an ini-file format
is probably just as accessible as a GUI; XML, not so much -- there would
need to be some tool to help editing the XML out-of-band.



       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