[Patch] More convenience for entering account names (#144669 and #129099)

Derek Atkins warlord at MIT.EDU
Wed May 7 08:47:11 EDT 2008


Thanks!!!

-derek

"C. Ernst" <c.ernst72 at googlemail.com> writes:

> OK, Derek,
>
> you are right. It is more safe to introduce new properties with default to
> false.
> I added a new patch.
>
> Christoph
>
> 2008/5/6 Derek Atkins <warlord at mit.edu>:
>
>     Christoph,
>    
>     Thanks for your work.   I replied in one of the bug reports but
>     I'll say the same thing here for a wider audience.
>    
>     When you add a new boolean preference it should ALWAYS default to
>     FALSE (not TRUE).  The reason is that there's no way to differentiate
>     between "schema item does not exist" and "schema does exist and user
>     set it to FALSE".
>    
>     So in your particular case, the new schema item should be changed
>     to "Only Display Leaf Account Names" with a default of FALSE, instead
>     of "Display Full Account Path" with a default of TRUE.
>    
>     Thanks!
>    
>     -derek
>    
>     "C. Ernst" <c.ernst72 at googlemail.com> writes:
>    
>     > Hi,
>     >
>     > the attachement contains a patch to fix both
>     > http://bugzilla.gnome.org/show_bug.cgi?id=144669 and
>     > http://bugzilla.gnome.org/show_bug.cgi?id=129099.
>     > It would be great, if somebody could check it out and confirm that it's
>     > working (local tests do so at least :-)
>     >
>     > Note: This attachement is for simplicity only. I submitted independent
>     > patches to both bugzilla issues.
>     > Note: If you are going to test this patch on a windows machine with more
>     > than one gnucash installations, you might encounter interference
>     problems,
>     > with the new schemas as well as the glade preferences. (See
>     > http://lists.gnucash.org/pipermail/gnucash-devel/2008-April/022868.html)
>     I
>     > had to patch binreloc.c (not included in the patch) or to uninstall the
>     > stable release, in order to read the new versions of the configuration
>     > files.
>     >
>     > Christoph
>     >
>     > _______________________________________________
>     > gnucash-devel mailing list
>     > gnucash-devel at gnucash.org
>     > https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>    
>     --
>           Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
>           Member, MIT Student Information Processing Board  (SIPB)
>           URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
>           warlord at MIT.EDU                        PGP key available
>

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


More information about the gnucash-devel mailing list