aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--ChangeLog.ja5
-rw-r--r--src/main.c6
3 files changed, 14 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8b034bdb..fd8d45a8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2005-10-12
+ * src/main.c: default_log_func(): fixed prefix on G_LOG_LEVEL_WARNING.
+
+2005-10-12
+
* libsylph/imap.c: imap_cmd_ok(): fixed parsing of literal data.
2005-10-12
diff --git a/ChangeLog.ja b/ChangeLog.ja
index 4d5f7bd9..946404df 100644
--- a/ChangeLog.ja
+++ b/ChangeLog.ja
@@ -1,5 +1,10 @@
2005-10-12
+ * src/main.c: default_log_func(): G_LOG_LEVEL_WARNING の時の prefix
+ を修正。
+
+2005-10-12
+
* libsylph/imap.c: imap_cmd_ok(): リテラルデータのパースを修正。
2005-10-12
diff --git a/src/main.c b/src/main.c
index cd70da4e..0b3582ca 100644
--- a/src/main.c
+++ b/src/main.c
@@ -644,11 +644,15 @@ static void default_log_func(const gchar *log_domain, GLogLevelFlags log_level,
level = LOG_ERROR;
break;
case G_LOG_LEVEL_CRITICAL:
- case G_LOG_LEVEL_WARNING:
prefix = "CRITICAL";
file_prefix = "** ";
level = LOG_WARN;
break;
+ case G_LOG_LEVEL_WARNING:
+ prefix = "WARNING";
+ file_prefix = "** ";
+ level = LOG_WARN;
+ break;
case G_LOG_LEVEL_MESSAGE:
prefix = "Message";
file_prefix = "* ";