herdsman pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=7df562fed5a2fe4c4eae4880fd65b8b448da6b9b

commit 7df562fed5a2fe4c4eae4880fd65b8b448da6b9b
Author: Daniel Hirt <daniel.h...@samsung.com>
Date:   Thu Dec 3 10:06:03 2015 +0200

    Entry: add "selection,reset" state
    
    This change will hide the cursor once there is an actual change, and
    there is a difference between the selection cursors. If there is no
    difference, then it is better to show the cursor again.
---
 data/themes/edc/elm/entry.edc | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/data/themes/edc/elm/entry.edc b/data/themes/edc/elm/entry.edc
index 1a110c3..390a955 100644
--- a/data/themes/edc/elm/entry.edc
+++ b/data/themes/edc/elm/entry.edc
@@ -416,7 +416,7 @@ group { name: "elm/entry/cursor/default";
    }
    programs {
       program {
-         signal: "selection,start"; source: "elm.text";
+         signal: "selection,changed"; source: "elm.text";
          action: STATE_SET "hidden" 0.0;
          target: "clipper";
       }
@@ -426,6 +426,11 @@ group { name: "elm/entry/cursor/default";
          target: "clipper";
       }
       program {
+         signal: "selection,reset"; source: "elm.text";
+         action: STATE_SET "default" 0.0;
+         target: "clipper";
+      }
+      program {
          signal: "elm,action,focus"; source: "elm";
          action: ACTION_STOP;
          target: "cursor_show";

-- 


Reply via email to