jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=77ad8fa3c429edfc11ea233d80c918b2a0845e00

commit 77ad8fa3c429edfc11ea233d80c918b2a0845e00
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Wed Oct 21 17:23:10 2015 +0900

    notify: animate on hide
    
    There was all the necessary code, except that the default
    theme did not implement properly the signal & required data.
    
    There is still a problem though, as the "timeout" smart callback
    will be called at the start of the animation, so it's not possible
    for an app to hide() or del() at this point (that would get
    rid of the animation). But there's no other callback after
    the animation ends.
    
    elementary_test -to Notify > "Bottom" illustrates this issue.
---
 data/themes/edc/elm/notify.edc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/data/themes/edc/elm/notify.edc b/data/themes/edc/elm/notify.edc
index 14f9ec1..533ecc7 100644
--- a/data/themes/edc/elm/notify.edc
+++ b/data/themes/edc/elm/notify.edc
@@ -14,6 +14,7 @@ group { name: "elm/notify/block_events/default";
 
 group { name: "elm/notify/top/default";
    images.image: "darken_rounded_square.png" COMP;
+   data.item: "hide_finished_signal" "on";
    parts {
       part { name: "clip"; type: RECT;
          description { state: "default" 0.0;
@@ -65,7 +66,7 @@ group { name: "elm/notify/top/default";
          target: "base";
       }
       program {
-         signal: "elm,hide"; source: "elm";
+         signal: "elm,state,hide"; source: "elm";
          action: STATE_SET "default" 0.0;
          target: "clip";
          target: "base";

-- 


Reply via email to