summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2015-10-21 17:23:10 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2015-11-04 17:24:53 +0900
commit77ad8fa3c429edfc11ea233d80c918b2a0845e00 (patch)
tree152ea4ff2eebcef6b3f87128cc83df71b3e051c2 /data
parent3735705563aef65efab14bb33960918f26cfcf06 (diff)
downloadelementary-77ad8fa3c429edfc11ea233d80c918b2a0845e00.tar.gz
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.
Diffstat (limited to 'data')
-rw-r--r--data/themes/edc/elm/notify.edc3
1 files changed, 2 insertions, 1 deletions
diff --git a/data/themes/edc/elm/notify.edc b/data/themes/edc/elm/notify.edc
index 14f9ec151..533ecc75a 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";