* fix some logical ids
[modest] / src / modest-mail-operation.c
index c0bf798..2bfd135 100644 (file)
@@ -229,7 +229,8 @@ modest_mail_operation_send_new_mail (ModestMailOperation *self,
                                     const gchar *cc,  const gchar *bcc,
                                     const gchar *subject, const gchar *plain_body,
                                     const gchar *html_body,
-                                    const GList *attachments_list)
+                                    const GList *attachments_list,
+                                    TnyHeaderFlags priority_flags)
 {
        TnyMsg *new_msg;
        ModestMailOperationPrivate *priv = NULL;
@@ -258,6 +259,9 @@ modest_mail_operation_send_new_mail (ModestMailOperation *self,
                return;
        }
 
+       /* TODO: add priority handling. It's received in the priority_flags operator, and
+          it should have effect in the sending operation */
+
        /* Call mail operation */
        modest_mail_operation_send_mail (self, transport_account, new_msg);
 
@@ -301,6 +305,8 @@ update_folders_cb (TnyFolderStore *folder_store, TnyList *list, GError **err, gp
        self  = MODEST_MAIL_OPERATION (user_data);
        priv  = MODEST_MAIL_OPERATION_GET_PRIVATE (self);
 
+       g_message (__FUNCTION__);
+       
        if (*err) {
                priv->error = g_error_copy (*err);
                priv->status = MODEST_MAIL_OPERATION_STATUS_FAILED;
@@ -376,10 +382,11 @@ modest_mail_operation_update_account (ModestMailOperation *self,
        priv->total = 0;
        priv->done  = 0;
        priv->status = MODEST_MAIL_OPERATION_STATUS_IN_PROGRESS;
-
+       
        /* Get subscribed folders & refresh them */
        folders = TNY_LIST (tny_simple_list_new ());
 
+       g_message ("tny_folder_store_get_folders_async");
        tny_folder_store_get_folders_async (TNY_FOLDER_STORE (store_account),
                                            folders, update_folders_cb, NULL, self);