From f28cb97a5dfc80a291e5349edbecfaa3c5d89fbf Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Wed, 6 Jan 2010 01:27:03 +0200 Subject: [PATCH] * mu-msg-flags: better logging --- src/mu-msg-flags.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/mu-msg-flags.c b/src/mu-msg-flags.c index 325462e9..7b766242 100644 --- a/src/mu-msg-flags.c +++ b/src/mu-msg-flags.c @@ -20,6 +20,7 @@ #include #include +#include "mu-util.h" #include "mu-msg-flags.h" @@ -140,11 +141,11 @@ check_msg_type (const char* path, char **info) if (g_str_has_suffix (dir, G_DIR_SEPARATOR_S "cur")) { if (!*info) - g_message ("'cur' file, but no info part: %s", path); + g_debug ("'cur' file, but no info part: %s", path); mtype = MSG_TYPE_CUR; } else if (g_str_has_suffix (dir, G_DIR_SEPARATOR_S "new")) { - /* if (*info) */ - /* g_message ("'new' file, ignoring info part: %s", path); */ + if (*info) + g_debug ("'new' file, ignoring info part: %s", path); mtype = MSG_TYPE_NEW; } else mtype = MSG_TYPE_OTHER; /* file has been added explicitly as