report/view-column make-internal-option "report-list"

Larry Evans cppljevans at cox-internet.com
Sun Jul 16 16:50:24 EDT 2006


On 07/16/2006 01:58 PM, Larry Evans wrote:
> On 07/16/2006 01:39 PM, Derek Atkins wrote:
> 
>>Quoting Larry Evans <cppljevans at cox-internet.com>:
>>
>>
>>
>>>On 07/16/2006 01:22 PM, Larry Evans wrote:
>>>[snip]
>>>
>>>
>>>>I'd appreciate any suggestions about how to figure out why
>>>>the "report-list" option is showing up when I ask to change
>>>
>>>                            ^not
>>>
>>>
>>>>the options.
>>
>>
>>Because options of the form __<name> are invisible and don't show up.
>>Also, it's an internal option, which is yet another clue why it doesn't
>>appear.  Internal options are for gnucash internal storage.
>>
>>-derek
>>
> 
> Why then do they show up in options for the "Multicolumn View" report?

Grepping for __general in .c files found:

find . -name \*.c -exec grep __general {} \; -ls
     gnc_option_db_lookup_option(view->odb, "__general", "report-list",
     gnc_column_view_set_option(r->odb, "__general", "report-list",
     gnc_column_view_set_option(r->odb, "__general", "report-list",
     gnc_column_view_set_option(r->odb, "__general", "report-list",
     gnc_column_view_set_option(r->odb, "__general", "report-list",
2098416   20 -rw-r--r--   1 evansl   evansl      17866 Jul  9 19:56 
./src/report/report-gnome/dialog-column-view.c

so I'm guessing that there must be some method to connect this .c code
with the report-list option setter in the "Multicolumn View" report,
and that I'll need to use the same method with my scratch.scm copy
of the view-column.scm code.




More information about the gnucash-devel mailing list