* updates for mu_msg_get_body_(text|html) api change

This commit is contained in:
djcb
2012-08-09 09:38:58 +03:00
parent 86bf7b7165
commit abfcc4a2f3
9 changed files with 29 additions and 23 deletions

View File

@ -352,11 +352,12 @@ mu_msg_body_view_set_message (MuMsgBodyView *self, MuMsg *msg)
set_message (self, msg);
data = msg ? mu_msg_get_body_html (msg) : "";
data = msg ? mu_msg_get_body_html (msg, MU_MSG_OPTION_NONE) : "";
if (data)
set_html (self, data);
else
set_text (self, mu_msg_get_body_text (msg));
set_text (self,
mu_msg_get_body_text (msg, MU_MSG_OPTION_NONE));
self->_priv->_view_mode = VIEW_MODE_MSG;
}