From 6ca93d3dc6c598b71c69bd5f9d0c9a8c1f36d9a2 Mon Sep 17 00:00:00 2001 From: Hyerim Bae Date: Thu, 6 Sep 2012 16:46:34 +0900 Subject: [Title] Modify to select all string when click url entry. [Issue#] P120906-0573 [Problem] It's more convenient to block the url. [Cause] N/A [Solution] N/A [Team] Browser UI [Developer] Hyerim Bae [Request] N/A Change-Id: I6917b6eee46cac9b08e3dd849e65f5aa29ae9408 --- src/browser-view/browser-view.cpp | 4 ++++ 1 file changed, 4 insertions(+) mode change 100755 => 100644 src/browser-view/browser-view.cpp diff --git a/src/browser-view/browser-view.cpp b/src/browser-view/browser-view.cpp old mode 100755 new mode 100644 index 8344b920..7f3189ec --- a/src/browser-view/browser-view.cpp +++ b/src/browser-view/browser-view.cpp @@ -3024,6 +3024,10 @@ void Browser_View::__url_entry_clicked_cb(void *data, Evas_Object *obj, const ch Evas_Object *entry = br_elm_editfield_entry_get(browser_view->m_option_header_url_edit_field); elm_object_focus_set(browser_view->m_option_header_url_edit_field, EINA_TRUE); + + const char *url_text = elm_entry_entry_get(entry); + if (url_text && strlen(url_text)) + elm_entry_select_all(entry); elm_entry_cursor_end_set(entry); // ecore_idler_add(__url_entry_focus_idler_cb, browser_view->m_option_header_url_edit_field); -- cgit v1.2.3