[pkg-fso-commits] [SCM] libframeworkd-phonegui branch, upstream, updated. 640da47bfcff755388d0fb8f443eb34e0dea3c72
Klaus Kurzmann
mok at fluxnetz.de
Sat Dec 27 20:50:08 UTC 2008
The following commit has been merged in the upstream branch:
commit 4e554bfdbfb49ab42d5a4efaa01267d8ace2be4a
Author: Klaus Kurzmann <mok at fluxnetz.de>
Date: Tue Dec 16 15:23:32 2008 +0100
messages: correctly show newlines in message view
Signed-off-by: Klaus Kurzmann <mok at fluxnetz.de>
diff --git a/libframeworkd-phonegui-efl/data/messages.edc b/libframeworkd-phonegui-efl/data/messages.edc
index c211aa5..beccb67 100644
--- a/libframeworkd-phonegui-efl/data/messages.edc
+++ b/libframeworkd-phonegui-efl/data/messages.edc
@@ -2,6 +2,7 @@ styles {
style {
name: "content_style";
base: "font=Edje-Vera font_size=20 align=left valign=bottom color=#000 wrap=word";
+ tag: "br" "+ \n";
}
}
diff --git a/libframeworkd-phonegui-efl/src/view/message-show-view.c b/libframeworkd-phonegui-efl/src/view/message-show-view.c
index b0f676f..212270a 100644
--- a/libframeworkd-phonegui-efl/src/view/message-show-view.c
+++ b/libframeworkd-phonegui-efl/src/view/message-show-view.c
@@ -86,8 +86,8 @@ static void retrieve_callback2(struct MessageShowViewData *data) {
time_t timestamp = time_stringtotimestamp(timestr);
char *status = data->status;
char *number = data->number;
- char *content = data->content;
-
+ char *content = string_replace_with_tags(data->content);
+
char datestr[32];
strftime(datestr, 31, "%d.%m.%Y, %H:%M", gmtime(×tamp));
--
libframeworkd-phonegui
More information about the pkg-fso-commits
mailing list