2007-06-29 Murray Cumming <murrayc@murrayc.com
authorMurray Cumming <murrayc@murrayc.com>
Fri, 29 Jun 2007 11:52:15 +0000 (11:52 +0000)
committerMurray Cumming <murrayc@murrayc.com>
Fri, 29 Jun 2007 11:52:15 +0000 (11:52 +0000)
* libmodest-dbus-client/libmodest-dbus-client.c: Improved the documentation slightly.
* src/modest-mail-operation.c: (modest_mail_operation_xfer_folder):
Debug output to give some more clue when a folder move is not allowed.

pmo-trunk-r2493

ChangeLog2
libmodest-dbus-client/libmodest-dbus-client.c
src/modest-mail-operation.c

index 9c7df3f..164b58e 100644 (file)
@@ -1,3 +1,9 @@
+2007-06-29  Murray Cumming  <murrayc@murrayc.com
+
+       * libmodest-dbus-client/libmodest-dbus-client.c: Improved the documentation slightly.
+       * src/modest-mail-operation.c: (modest_mail_operation_xfer_folder):
+       Debug output to give some more clue when a folder move is not allowed.
+
 2007-06-28  Murray Cumming  <murrayc@murrayc.com
 
        * src/modest-tny-account.c: (on_modest_file_system_info),
index e93deae..183d179 100644 (file)
@@ -104,7 +104,7 @@ libmodest_dbus_client_mail_to (osso_context_t *osso_context, const gchar *mailto
  * @bcc: Recipients for blind carbon copies
  * @subject: Subject line
  * @body: The actual body of the mail to compose.
- * @attachments: Additional list of attachments
+ * @attachments: Additional list of attachments. A list of URI strings.
  * 
  * This function will try to do a remote procedure call (rpc)
  * into modest (or start it if necessary) and open a composer
index 69509ab..441c6fc 100644 (file)
@@ -1420,6 +1420,7 @@ modest_mail_operation_xfer_folder (ModestMailOperation *self,
        
        /* The moveable restriction is applied also to copy operation */
        if ((!TNY_IS_FOLDER_STORE (parent)) || (rules & MODEST_FOLDER_RULES_FOLDER_NON_MOVEABLE)) {
+               printf("DEBUG: %s: Not allowing the move.\n", __FUNCTION__);
                /* Set status failed and set an error */
                priv->status = MODEST_MAIL_OPERATION_STATUS_FAILED;
                g_set_error (&(priv->error), MODEST_MAIL_OPERATION_ERROR,