set flags only for new folder info

svn path=/trunk/; revision=23520
This commit is contained in:
Radek Doulik
2003-12-01 12:31:29 +00:00
parent 4391b34ce5
commit 8accc25299

View File

@ -728,12 +728,12 @@ add_special_info (CamelStore *store, CamelFolderInfo *info, gchar *name, gchar *
g_assert(parent != NULL);
vinfo->flags |= CAMEL_FOLDER_NOINFERIORS | CAMEL_FOLDER_SUBSCRIBED;
/* link it into the right spot */
vinfo->sibling = parent->sibling;
parent->sibling = vinfo;
}
vinfo->flags |= CAMEL_FOLDER_NOINFERIORS | CAMEL_FOLDER_SUBSCRIBED;
/* Fill in the new fields */
vinfo->full_name = g_strdup (full_name);