discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=406453d60c6cab718cfbe37bd57d1979bf8d8fce

commit 406453d60c6cab718cfbe37bd57d1979bf8d8fce
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Thu Mar 17 15:08:12 2016 -0400

    entry: do not set selection on selection,start signal
    
    this is already handled by the selection,changed signal and creates
    duplicated events
    
    @fix
---
 src/lib/elm_entry.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/src/lib/elm_entry.c b/src/lib/elm_entry.c
index 75042ab..42279fa 100644
--- a/src/lib/elm_entry.c
+++ b/src/lib/elm_entry.c
@@ -2152,8 +2152,6 @@ _entry_selection_start_signal_cb(void *data,
 {
    const Eina_List *l;
    Evas_Object *entry;
-   const char *txt = elm_entry_selection_get(data);
-   Evas_Object *top;
 
    EINA_LIST_FOREACH(entries, l, entry)
      {
@@ -2162,13 +2160,6 @@ _entry_selection_start_signal_cb(void *data,
    eo_event_callback_call
      (data, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTION_START, NULL);
 
-   top = elm_widget_top_get(data);
-   if (txt && top && (elm_win_window_id_get(top)))
-     {
-        elm_cnp_selection_set(data, ELM_SEL_TYPE_PRIMARY,
-              ELM_SEL_FORMAT_MARKUP, txt, strlen(txt));
-        elm_cnp_selection_loss_callback_set(data, ELM_SEL_TYPE_PRIMARY, 
_selection_clear, data);
-     }
    elm_object_focus_set(data, EINA_TRUE);
 }
 

-- 


Reply via email to