* docu fixes
This commit is contained in:
@ -317,7 +317,8 @@ mu_cmd_mv (MuConfig *opts)
|
|||||||
g_warning ("unlink failed: %s", strerror (errno));
|
g_warning ("unlink failed: %s", strerror (errno));
|
||||||
return MU_EXITCODE_ERROR;
|
return MU_EXITCODE_ERROR;
|
||||||
} else {
|
} 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 */
|
g_print ("%s\n", "/dev/null"); /* /dev/null */
|
||||||
return MU_EXITCODE_OK;
|
return MU_EXITCODE_OK;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -56,17 +56,21 @@ enum _MuMsgFlags {
|
|||||||
/* "F"->flagged message */
|
/* "F"->flagged message */
|
||||||
MU_MSG_FLAG_FLAGGED = 1 << 6,
|
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
|
/* "U"->unread message; it's a pseudo/convenience flag that
|
||||||
* means (NEW or not SEEN) */
|
* means (NEW or not SEEN) */
|
||||||
MU_MSG_FLAG_UNREAD = 1 << 7,
|
MU_MSG_FLAG_UNREAD = 1 << 7,
|
||||||
|
|
||||||
/* these we get from the contents */
|
/* these we get from the contents */
|
||||||
|
|
||||||
/* "Z"->signed message */
|
/* "z"->signed message */
|
||||||
MU_MSG_FLAG_SIGNED = 1 << 8,
|
MU_MSG_FLAG_SIGNED = 1 << 8,
|
||||||
/* "X"->encrypted message */
|
/* "x"->encrypted message */
|
||||||
MU_MSG_FLAG_ENCRYPTED = 1 << 9,
|
MU_MSG_FLAG_ENCRYPTED = 1 << 9,
|
||||||
/* "A"->message has attachment */
|
/* "a"->message has attachment */
|
||||||
MU_MSG_FLAG_HAS_ATTACH = 1 << 10
|
MU_MSG_FLAG_HAS_ATTACH = 1 << 10
|
||||||
};
|
};
|
||||||
typedef enum _MuMsgFlags MuMsgFlags;
|
typedef enum _MuMsgFlags MuMsgFlags;
|
||||||
|
|||||||
@ -845,6 +845,8 @@ mu_msg_file_move_to_maildir (const char* oldpath, const char* targetmdir,
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* TODO: check for oldpath == newfullpath */
|
||||||
|
|
||||||
rv = msg_move (oldpath, newfullpath, err);
|
rv = msg_move (oldpath, newfullpath, err);
|
||||||
|
|
||||||
if (!rv) {
|
if (!rv) {
|
||||||
|
|||||||
Reference in New Issue
Block a user