diff --git a/src/modules/notification/e_mod_popup.c b/src/modules/notification/e_mod_popup.c index 2a4b55b85..a6f793fa4 100644 --- a/src/modules/notification/e_mod_popup.c +++ b/src/modules/notification/e_mod_popup.c @@ -178,10 +178,10 @@ _notification_popup_merge(E_Notification *n) len = strlen(body_old); len += strlen(body_new); - len += 4; /* "" */ + len += 3; /* \xE2\x80\xA9 - PS */ if (len < 65536) body_final = alloca(len + 1); else body_final = malloc(len + 1); - snprintf(body_final, len + 1, "%s%s", body_old, body_new); + snprintf(body_final, len + 1, "%s\xE2\x80\xA9%s", body_old, body_new); /* printf("set body %s\n", body_final); */ e_notification_body_set(n, body_final); @@ -579,6 +579,11 @@ _notification_format_message(Popup_Data *popup) Evas_Object *o = popup->theme; const char *title = e_notification_summary_get(popup->notif); const char *b = e_notification_body_get(popup->notif); - edje_object_part_text_set(o, "notification.textblock.message", b); edje_object_part_text_set(o, "notification.text.title", title); + { + char *tmp; + tmp = evas_textblock_text_utf8_to_markup(NULL, b); + edje_object_part_text_set(o, "notification.textblock.message", tmp); + if (tmp) free(tmp); + } }