Dave Peticolas <[EMAIL PROTECTED]> writes:
> > 2) They exits the program with the given status after calling any
> > shutdown hooks (if guile is initialized).
>
> Would any of those shutdown hooks need the ui?
I suppose they might. For example you might implement the window
cleanup code (saving all the dirty files -- if we ever support more
than one open at a time) as a shutdown hook.
So I was thinking that we might need to provide a function like
gnc:ui-running? so the hooks could behave conditionally, but after
thinking about it, I think it might be better to just have finer
grained hooks, like pre-gui-shutdown, etc.
Worth thinking about anyway...
--
Rob Browning <[EMAIL PROTECTED]> PGP=E80E0D04F521A094 532B97F5D64E3930
--
Gnucash Developer's List
To unsubscribe send empty email to: [EMAIL PROTECTED]