| 2021 |
2021 |
folder_item_append(item, new_item);
|
| 2022 |
2022 |
}
|
| 2023 |
2023 |
|
| 2024 |
|
if (!strcmp(new_item->path, "INBOX")) {
|
|
2024 |
if (!g_ascii_strcasecmp(new_item->path, "INBOX")) {
|
| 2025 |
2025 |
new_item->stype = F_INBOX;
|
| 2026 |
2026 |
folder->inbox = new_item;
|
| 2027 |
2027 |
} else if (!item->parent || item->stype == F_INBOX) {
|
| ... | ... | |
| 2170 |
2170 |
new_item = folder_item_new(loc_name, loc_path);
|
| 2171 |
2171 |
if (strcasestr(flags, "\\Noinferiors") != NULL)
|
| 2172 |
2172 |
new_item->no_sub = TRUE;
|
| 2173 |
|
if (strcmp(buf, "INBOX") != 0 &&
|
|
2173 |
if (g_ascii_strcasecmp(buf, "INBOX") != 0 &&
|
| 2174 |
2174 |
strcasestr(flags, "\\Noselect") != NULL)
|
| 2175 |
2175 |
new_item->no_select = TRUE;
|
| 2176 |
2176 |
|
| ... | ... | |
| 2391 |
2391 |
session = imap_session_get(folder);
|
| 2392 |
2392 |
if (!session) return NULL;
|
| 2393 |
2393 |
|
| 2394 |
|
if (!parent->parent && strcmp(name, "INBOX") == 0)
|
|
2394 |
if (!parent->parent && g_ascii_strcasecmp(name, "INBOX") == 0)
|
| 2395 |
2395 |
dirpath = g_strdup(name);
|
| 2396 |
2396 |
else if (parent->path)
|
| 2397 |
2397 |
dirpath = g_strconcat(parent->path, "/", name, NULL);
|
| ... | ... | |
| 2416 |
2416 |
imap_path_separator_subst(imap_path, separator);
|
| 2417 |
2417 |
subst_char(new_name, '/', separator);
|
| 2418 |
2418 |
|
| 2419 |
|
if (strcmp(name, "INBOX") != 0) {
|
|
2419 |
if (g_ascii_strcasecmp(name, "INBOX") != 0) {
|
| 2420 |
2420 |
GPtrArray *argbuf;
|
| 2421 |
2421 |
gint i;
|
| 2422 |
2422 |
gboolean exist = FALSE;
|