QIF doc pages

Charles Day cedayiv at gmail.com
Thu Feb 28 15:50:08 EST 2008


On Thu, Feb 28, 2008 at 11:50 AM, Derek Atkins <warlord at mit.edu> wrote:

> "Charles Day" <cedayiv at gmail.com> writes:
>
> > OK, that's sounds like what Ian is also saying, and that sounds good to
> me
> > too. So under which of the following conditions would a new account tab
> be
> > automatically created and displayed after the QIF import finishes?
> >   (a) the QIF import is launched though the "new user" dialog
> >   (b) no accounts exist prior to import (and no Accounts tab exists
> either)
> >   (c) any others?
>
> I think anytime that the importer completes, regardless of how it's
> called, iff there is no Account Tree Page.
>

What's the easiest way to test for an existing Account tab?

After that, creating the new accounts tab seems pretty easy:
  GncPluginPage *page;

  page = gnc_plugin_page_account_tree_new();
  gnc_main_window_open_page(NULL, page);

-Charles



> > -Charles
>
> -derek
>
> --
>       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