On Thu, Feb 28, 2008 at 11:50 AM, Derek Atkins <[EMAIL PROTECTED]> wrote:
> "Charles Day" <[EMAIL PROTECTED]> 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 > [EMAIL PROTECTED] PGP key available > _______________________________________________ gnucash-devel mailing list [email protected] https://lists.gnucash.org/mailman/listinfo/gnucash-devel
