* docu fixes

This commit is contained in:
Dirk-Jan C. Binnema 2011-08-08 21:57:48 +03:00
parent 74d00e26d4
commit f7c2ee5f49
4 changed files with 12 additions and 5 deletions

View File

@ -317,7 +317,8 @@ mu_cmd_mv (MuConfig *opts)
g_warning ("unlink failed: %s", strerror (errno));
return MU_EXITCODE_ERROR;
} else {
if (opts->printtarget) /* if the move worked, print */
if (opts->printtarget)
/* if the move worked, print */
g_print ("%s\n", "/dev/null"); /* /dev/null */
return MU_EXITCODE_OK;
}

View File

@ -56,17 +56,21 @@ enum _MuMsgFlags {
/* "F"->flagged message */
MU_MSG_FLAG_FLAGGED = 1 << 6,
/* NOTE: the only flag characters actually seen in Maildir
* files are: PRSTDF
*/
/* "U"->unread message; it's a pseudo/convenience flag that
* means (NEW or not SEEN) */
MU_MSG_FLAG_UNREAD = 1 << 7,
/* these we get from the contents */
/* "Z"->signed message */
/* "z"->signed message */
MU_MSG_FLAG_SIGNED = 1 << 8,
/* "X"->encrypted message */
/* "x"->encrypted message */
MU_MSG_FLAG_ENCRYPTED = 1 << 9,
/* "A"->message has attachment */
/* "a"->message has attachment */
MU_MSG_FLAG_HAS_ATTACH = 1 << 10
};
typedef enum _MuMsgFlags MuMsgFlags;

View File

@ -845,6 +845,8 @@ mu_msg_file_move_to_maildir (const char* oldpath, const char* targetmdir,
return FALSE;
}
/* TODO: check for oldpath == newfullpath */
rv = msg_move (oldpath, newfullpath, err);
if (!rv) {