[evolution-data-server/email-factory] Add debug stuffs



commit 29e66fd456f94e1aa3aec577a363d244a8159a73
Author: Srinivasa Ragavan <sragavan gnome org>
Date:   Fri Apr 29 17:13:39 2011 +0530

    Add debug stuffs

 mail/daemon/e-mail-data-folder.c  |    6 ++++--
 mail/daemon/e-mail-data-session.c |    3 ++-
 2 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/mail/daemon/e-mail-data-folder.c b/mail/daemon/e-mail-data-folder.c
index fef8493..39f30ae 100644
--- a/mail/daemon/e-mail-data-folder.c
+++ b/mail/daemon/e-mail-data-folder.c
@@ -951,9 +951,11 @@ app_msg_done (gboolean success, gpointer sdata, GError *error)
 	outbox = e_mail_local_get_folder (E_MAIL_FOLDER_OUTBOX);
 	if (priv->folder == outbox) {
 		/* We just appended to OUTBOX. Issue a Send command */
+		micro(printf("Append to Outbox, so issuing a send command\n"));
 		mail_send();
-	}
-
+	} else
+		micro(printf("Append to %s\n", camel_folder_get_full_name (priv->folder)));
+		
 	g_object_unref (data->message);
 	camel_message_info_free (data->info);
 	g_free (data->uid);
diff --git a/mail/daemon/e-mail-data-session.c b/mail/daemon/e-mail-data-session.c
index 6404ecb..4d6bb6f 100644
--- a/mail/daemon/e-mail-data-session.c
+++ b/mail/daemon/e-mail-data-session.c
@@ -484,6 +484,7 @@ void
 e_mail_session_emit_ask_password (EMailDataSession *msession, const char *title, const gchar *prompt, const gchar *key)
 {
 	EMailDataSessionPrivate *priv = DATA_SESSION_PRIVATE(msession);
-
+	
+	ipc(printf("Emitting for Ask Password: %s %s %s\n", title, prompt, key));
 	egdbus_session_cs_emit_get_password (priv->gdbus_object, title, prompt, key);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]