[Title] showing the guidetext after finish to load the add to bookmark page.
authorSangpyo Kim <sangpyo7.kim@samsung.com>
Thu, 6 Sep 2012 12:45:22 +0000 (21:45 +0900)
committerSangpyo Kim <sangpyo7.kim@samsung.com>
Thu, 6 Sep 2012 13:20:19 +0000 (22:20 +0900)
[Issue#] N_SE-8938
[Problem] The guidetext doesn't show at the first time.
[Cause] EFL entry doesn't show the guide text at the first time.
[Solution] sending the show signal after the view is loaded.
[Team] Browser UI
[Developer] sangpyo7.kim
[Request] N/A

Change-Id: Ie2621f6e73cc6a44f3fa05a77b1319de8803916a

src/browser-bookmark/browser-add-to-bookmark-view.cpp

index af0da3c..ad88275 100755 (executable)
@@ -186,6 +186,9 @@ Evas_Object *Browser_Add_To_Bookmark_View::__genlist_icon_get_cb(void *data, Eva
                                        free(mark_up);
                        }
 
+                       if (elm_entry_is_empty(br_elm_editfield_entry_get(add_to_bookmark_view->m_title_edit_field)))
+                               elm_object_signal_emit(add_to_bookmark_view->m_title_edit_field, "elm,state,guidetext,show", "elm");
+
                        return add_to_bookmark_view->m_title_edit_field;
                } else {
                        add_to_bookmark_view->m_url_edit_field = br_elm_editfield_add(obj, EINA_TRUE);