summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyerim Bae <hyerim.bae@samsung.com>2012-09-06 15:03:39 +0900
committerHyerim Bae <hyerim.bae@samsung.com>2012-09-06 17:02:40 +0900
commit67b6aaf830f20669e350b6513fc5da24d8bc4fca (patch)
tree681fefca9cb30fdf760b42f850921214dbfbbe3e
parentaee2371d21d1eed6b2b956399edeb9b7eed264e6 (diff)
downloadbrowser-67b6aaf830f20669e350b6513fc5da24d8bc4fca.tar.gz
browser-67b6aaf830f20669e350b6513fc5da24d8bc4fca.tar.bz2
browser-67b6aaf830f20669e350b6513fc5da24d8bc4fca.zip
[Title] Fix issue that the title was empty for the first time in multi window view.
[Issue#] N_SE-9225 [Problem] The title was empty for the first time in multi window view. [Cause] The title is encoded with mark up. [Solution] Modify not to encode the title. [Team] Browser UI [Developer] Hyerim Bae (hyerim.bae) [Request] N/A Change-Id: I0ece2ed4a5dab13ec08c3351122b35b52742fa44
-rw-r--r--[-rwxr-xr-x]src/browser-multi-window/browser-multi-window-view.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/browser-multi-window/browser-multi-window-view.cpp b/src/browser-multi-window/browser-multi-window-view.cpp
index 48898485..25899b56 100755..100644
--- a/src/browser-multi-window/browser-multi-window-view.cpp
+++ b/src/browser-multi-window/browser-multi-window-view.cpp
@@ -199,12 +199,10 @@ void Browser_Multi_Window_View::__zoom_out_finished(void)
}
} else {
BROWSER_LOGD("[%s][%s]", title, url);
- char *markup = elm_entry_utf8_to_markup(title);
- if (markup) {
- edje_object_part_text_set(elm_layout_edje_get(m_main_layout), "elm.title", markup);
- free(markup);
- }
+ edje_object_part_text_set(elm_layout_edje_get(m_main_layout), "elm.title", title);
+
+ char *markup = NULL;
markup = elm_entry_utf8_to_markup(url);
if (markup) {
edje_object_part_text_set(elm_layout_edje_get(m_main_layout), "elm.url", markup);