Rob, 
    if you have a look at src/app-utils/date-utilities.scm, you'll see
the definitions for "MonthDelta" for example.

Now, the interval selection option generator function
gnc:options-add-interval-choice! in src/report/report-system/options-utilities.scm
creates a multichoice option.

The value returned from an option generated by this function is a symbol 
corresponding to the "deltas" in src/app-utils/date-utilities.scm - not the
actual delta structure itself.

Hence, the use of eval to get the structure from the symbol.

I dunno, how do you want to fix this?
-- 
------------------------------------------------------------
Robert Merkel                              [EMAIL PROTECTED]

Go You Big Red Fire Engine
-- Unknown Audience Member at Adam Hills standup gig
------------------------------------------------------------
_______________________________________________
gnucash-devel mailing list
[EMAIL PROTECTED]
http://www.gnumatic.com/cgi-bin/mailman/listinfo/gnucash-devel

Reply via email to