diff options
author | Hyerim Bae <hyerim.bae@samsung.com> | 2012-09-06 15:03:39 +0900 |
---|---|---|
committer | Hyerim Bae <hyerim.bae@samsung.com> | 2012-09-06 17:02:40 +0900 |
commit | 67b6aaf830f20669e350b6513fc5da24d8bc4fca (patch) | |
tree | 681fefca9cb30fdf760b42f850921214dbfbbe3e | |
parent | aee2371d21d1eed6b2b956399edeb9b7eed264e6 (diff) | |
download | browser-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.cpp | 8 |
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); |