*/
#include <modest-platform.h>
+#include <modest-defs.h>
#include <modest-tny-platform-factory.h>
#include <modest-tny-account.h>
#include <modest-tny-account-store.h>
* returning an empty list. murrayc. */
tny_folder_store_get_folders (TNY_FOLDER_STORE (local_account), folders, NULL, FALSE, &error);
if (error) {
- g_warning ("%s: tny_folder_store_get_folders() failed:%s\n", __FUNCTION__, error->message);
+ g_debug ("%s: tny_folder_store_get_folders() failed:%s\n", __FUNCTION__, error->message);
g_error_free (error);
goto cleanup;
}
ModestProtocol *protocol;
const gchar* proto_name = NULL;
tny_account_set_id (tny_account, server_account_name);
+ tny_account_set_name (tny_account, server_account_name);
tny_camel_account_set_session (TNY_CAMEL_ACCOUNT (tny_account), session);
protocol = modest_protocol_registry_get_protocol_by_type (protocol_registry, modest_server_account_settings_get_protocol (server_settings));
proto_name = modest_protocol_get_name (protocol);
TNY_ACCOUNT (account), TNY_ALERT_TYPE_ERROR, FALSE,
err);
}
- g_warning ("err: %s", err->message);
+ g_debug ("err: %s", err->message);
}
}
GetMmcAccountNameData *callback_data = (GetMmcAccountNameData*)data;
if (error) {
- g_warning ("%s: error=%s", __FUNCTION__, error->message);
+ g_debug ("%s: error=%s", __FUNCTION__, error->message);
}
TnyAccount *account = TNY_ACCOUNT (callback_data->account);