Re: Creating folders
- From: "M . Thielker" <balsa t-data com>
- To: balsa-list gnome org
- Subject: Re: Creating folders
- Date: Mon, 27 Aug 2001 20:01:35 +0200
Hi,
On 2001.08.27 20:57 Lynn Kerby wrote:
> the mailbox/folder list. Any suggestions from someone who knows that
> section of
> code?
When Balsa starts up, it reads athe mailboxes from the config file and scans
for local mailboxes in the default directories. They are added to a g_list
in balsa_app.
balsa_mblist_repopulate() will use that list to recreate the mailbox tree.
When adding a mailbox, apparently the config for it is written correctly,
but no libbalsa_mailbox is created for it if it's a local box. Therefore,
there is nothing to add to the mailbox list, and the mailbox will not show
up.
It would be necessary to use libbalsa_mailbox_local_new(), add that to the
g_list in balsa_app and call balsa_mblist_repopulate() for the main window's
mblist.
Formerly, doing this would have led to a segfault, that's probably the
reason the code was omitted, but I recently fixed the bug in balsa-mblist.c.
It should now be possible to implement this correctly.
Melanie
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]