* updates for summary field removal

This commit is contained in:
Dirk-Jan C. Binnema
2011-05-14 18:07:07 +03:00
parent 81f43467eb
commit 0cd1e78239
4 changed files with 14 additions and 10 deletions

View File

@ -54,10 +54,12 @@ view_msg (MuMsg *msg, const gchar *fields, size_t summary_len)
if ((date = mu_msg_get_date (msg)))
g_print ("Date: %s\n", mu_str_date_s ("%c", date));
if (summary_len > 0) {
field = mu_msg_get_summary (msg, summary_len);
g_print ("Summary: %s\n", field ? field : "<none>");
} else if ((field = mu_msg_get_body_text (msg)))
/* TODO: reimplement the summary stuff... */
/* if (summary_len > 0) { */
/* field = mu_msg_get_summary (msg, summary_len); */
/* g_print ("Summary: %s\n", field ? field : "<none>"); */
/* } else */
if ((field = mu_msg_get_body_text (msg)))
g_print ("\n%s\n", field);
return TRUE;