summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyerim Bae <hyerim.bae@samsung.com>2012-09-06 16:46:34 +0900
committerHyerim Bae <hyerim.bae@samsung.com>2012-09-06 17:03:36 +0900
commit6ca93d3dc6c598b71c69bd5f9d0c9a8c1f36d9a2 (patch)
tree3a729f1f282316aeae9eb1faad57daaaef528c25
parent67b6aaf830f20669e350b6513fc5da24d8bc4fca (diff)
downloadbrowser-6ca93d3dc6c598b71c69bd5f9d0c9a8c1f36d9a2.tar.gz
browser-6ca93d3dc6c598b71c69bd5f9d0c9a8c1f36d9a2.tar.bz2
browser-6ca93d3dc6c598b71c69bd5f9d0c9a8c1f36d9a2.zip
[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
-rw-r--r--[-rwxr-xr-x]src/browser-view/browser-view.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/browser-view/browser-view.cpp b/src/browser-view/browser-view.cpp
index 8344b920..7f3189ec 100755..100644
--- 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);