* src/widgets/modest-window-mgr.c:
[modest] / src / modest-tny-account.c
index 70df25f..a2f4b65 100644 (file)
@@ -324,7 +324,7 @@ modest_tny_account_new_from_server_account (ModestAccountMgr *account_mgr,
        /* FIXME: for debugging. 
         * Let's keep this because it is very useful for debugging. */
        url = tny_account_get_url_string (TNY_ACCOUNT(tny_account));
- /*    printf ("DEBUG %s:\n  account-url: %s\n", __FUNCTION__, url); */
+    printf ("DEBUG %s:\n  account-url: %s\n", __FUNCTION__, url);
        g_free (url);
        /***********************/
        
@@ -450,8 +450,7 @@ TnyAccount*
 modest_tny_account_new_for_local_folders (ModestAccountMgr *account_mgr, TnySessionCamel *session, const gchar* location_filepath)
 {
        /* Make sure that the directories exist: */
-       if (location_filepath == NULL) /* Only for the special local folders account, not for the memory card. */
-               modest_init_local_folders ();
+       modest_init_local_folders (location_filepath);
 
        TnyStoreAccount *tny_account;
        CamelURL *url;