677
697
if (top == NULL || top[0] == 0) {
678
698
/* create a dummy "." parent inbox, use to scan, then put back at the top level */
679
fi = scan_fi(store, flags, "Inbox", _("Inbox"), cancellable);
699
fi = scan_fi (store, flags, "Inbox", _("Inbox"), cancellable);
680
700
if (scan_dirs (store, flags, TRUE, &fi, cancellable, error) == -1)
683
703
fi->flags |= CAMEL_FOLDER_SYSTEM | CAMEL_FOLDER_TYPE_INBOX;
685
fi = scan_fi(store, flags, "Inbox", _("Inbox"), cancellable);
705
fi = scan_fi (store, flags, "Inbox", _("Inbox"), cancellable);
686
706
fi->flags |= CAMEL_FOLDER_SYSTEM | CAMEL_FOLDER_TYPE_INBOX;
688
708
const gchar *name = strrchr (top, '/');