[evolution-data-server/email-factory] More stuffs.



commit 5c31a3e656b9dbdaca82d5384167d746f3e99aaa
Author: Srinivasa Ragavan <sragavan gnome org>
Date:   Fri Apr 8 15:39:57 2011 +0300

    More stuffs.

 mail/daemon/e-mail-data-folder.c |    5 +++--
 mail/daemon/mail-session.c       |    2 ++
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/mail/daemon/e-mail-data-folder.c b/mail/daemon/e-mail-data-folder.c
index 0afbfde..21c2515 100644
--- a/mail/daemon/e-mail-data-folder.c
+++ b/mail/daemon/e-mail-data-folder.c
@@ -1250,7 +1250,7 @@ variant_from_info (CamelMessageInfoBase *info)
 		g_variant_builder_unref (b1);
 	
 		g_variant_builder_add_value (builder, v1);
-		g_variant_unref (v1);
+		//g_variant_unref (v1);
 	} else {
 		g_variant_builder_add (builder, "i", 0);
 		b1 = g_variant_builder_new (G_VARIANT_TYPE_ARRAY);
@@ -1327,7 +1327,7 @@ gmi_done (gboolean success, gpointer sdata, GError *error)
 	}
 
 	variant = variant_from_info (data->info);
-
+	micro(printf("MessageInfo: %s %p\n", data->info->uid, data->info));
 	egdbus_folder_cf_complete_get_message_info (data->object, data->invocation, variant);
 
 	camel_message_info_free (data->info);
@@ -1447,6 +1447,7 @@ ps_operate (CamelFolder *folder, gpointer sdata, GError **error)
 {
 	EMailFolderTransferData *data = (EMailFolderTransferData *)sdata;
 
+	camel_folder_summary_set_need_preview (folder->summary, TRUE);
 	camel_folder_summary_prepare_fetch_all (folder->summary, error);
 
 	return TRUE;
diff --git a/mail/daemon/mail-session.c b/mail/daemon/mail-session.c
index f00000c..c062935 100644
--- a/mail/daemon/mail-session.c
+++ b/mail/daemon/mail-session.c
@@ -452,6 +452,8 @@ alert_user(CamelSession *session, CamelSessionAlertType type, const gchar *promp
 	struct _user_message_msg *m;
 	gboolean result = TRUE;
 
+	if (1) /* For now accept all */
+		return TRUE;
 	m = mail_msg_new (&user_message_info);
 	m->ismain = mail_in_main_thread ();
 	m->type = type;



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