* Fixes NB#59753, the account that is created is now visible if it's the unique...
[modest] / src / modest-tny-local-folders-account.c
index eecb30c..1ef8ef0 100644 (file)
@@ -182,7 +182,7 @@ add_account_folders_to_merged_folder (TnyAccount *account, TnyMergeFolder* merge
 {
        const gchar* account_id = tny_account_get_id (account);
        const gboolean is_actual_local_folders_account = account_id && 
-               (strcmp (account_id, MODEST_ACTUAL_LOCAL_FOLDERS_ACCOUNT_ID) == 0);
+               (strcmp (account_id, MODEST_LOCAL_FOLDERS_ACCOUNT_ID) == 0);
                
        TnyList *list_outbox_folders = tny_simple_list_new ();
        tny_folder_store_get_folders (TNY_FOLDER_STORE (account), 
@@ -245,6 +245,7 @@ void modest_tny_local_folders_account_add_merged_outbox_folders (ModestTnyLocalF
        }
        
        /* Add the merged outbox folder to the virtual local-folders store: */
+       printf ("Debug: %s: adding merged outbox.\n", __FUNCTION__);
        modest_tny_local_folders_account_add_extra_folder (self, TNY_FOLDER(merged_outbox));
        g_object_unref (merged_outbox);
        merged_outbox = NULL;