2007-05-21 Murray Cumming <murrayc@murrayc.com>
+ * src/modest-account-mgr.c: (modest_account_mgr_add_account):
+ * src/modest-mail-operation-queue.c:
+ (modest_mail_operation_queue_remove):
+ * src/modest-tny-account-store.c: When GErrors happen, give more clues
+ about where they happened.
+
+2007-05-21 Murray Cumming <murrayc@murrayc.com>
+
* src/modest-ui-actions.c:
(modest_ui_actions_on_password_requested): Make sure that the remember
output parameter is always TRUE.
if (!ok) {
g_printerr ("modest: cannot set display name\n");
if (err) {
- g_printerr ("modest: %s\n", err->message);
+ g_printerr ("modest: Error adding account conf: %s\n", err->message);
g_error_free (err);
}
return FALSE;
g_printerr ("modest: failed to set store account '%s'\n",
store_account);
if (err) {
- g_printerr ("modest: %s\n", err->message);
+ g_printerr ("modest: Error adding store account conf: %s\n", err->message);
g_error_free (err);
}
g_printerr ("modest: failed to set transport account '%s'\n",
transport_account);
if (err) {
- g_printerr ("modest: %s\n", err->message);
+ g_printerr ("modest: Error adding transport account conf: %s\n", err->message);
g_error_free (err);
}
return FALSE;
const GError *err;
err = modest_mail_operation_get_error (mail_op);
if (err)
- g_printerr (err->message);
+ g_printerr ("Error in %s: %s", __FUNCTION__, err->message);
}
/* Notify observers */
return pwd;
}
-
+/* tinymail calls this if the connection failed due to an incorrect password.
+ * And it seems to call this for any general connection failure. */
static void
forget_password (TnyAccount *account)
{