* mu-msg: update for other changes

This commit is contained in:
Dirk-Jan C. Binnema 2011-08-16 23:43:57 +03:00
parent 14aa3c132b
commit a84d72e7cf
2 changed files with 8 additions and 4 deletions

View File

@ -687,14 +687,15 @@ mu_msg_is_readable (MuMsg *self)
*/
gboolean
mu_msg_move_to_maildir (MuMsg *self, const char* targetmdir,
MuFlags flags, GError **err)
MuFlags flags, gboolean ignore_dups, GError **err)
{
char *newfullpath;
g_return_val_if_fail (self, FALSE);
newfullpath = mu_maildir_move_message (mu_msg_get_path (self),
targetmdir, flags, err);
targetmdir, flags,
ignore_dups, err);
if (newfullpath) /* update our path to new one... */
mu_msg_cache_set_str (self->_cache, MU_MSG_FIELD_ID_PATH, newfullpath,
TRUE); /* the cache will free the string */

View File

@ -395,13 +395,16 @@ char* mu_msg_to_sexp (MuMsg *msg, gboolean dbonly);
* that this may still involve a moved to another directory (say, from
* new/ to cur/)
* @param flags to set for the target (influences the filename, path)
* @param silently ignore the src=target case (return TRUE)
* @param err (may be NULL) may contain error information; note if the
* function return FALSE, err is not set for all error condition
* (ie. not for parameter errors)
* (ie. not for parameter error
*
* @return TRUE if it worked, FALSE otherwise
*/
gboolean mu_msg_move_to_maildir (MuMsg *msg, const char* targetmdir,
MuFlags flags, GError **err);
MuFlags flags, gboolean ignore_dups,
GError **err);
enum _MuMsgContactType { /* Reply-To:? */