summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2015-11-20 14:26:36 +0530
committerAmitesh Singh <amitesh.sh@samsung.com>2015-11-20 14:40:35 +0530
commit81b5ee7e16c37f96e2ac11d13893720bdd637e5c (patch)
tree458529adae8c06a80fd86cd69a233b25194c033c
parent3982f0fd39d92f2d6bdab7920a96247da1fe4207 (diff)
downloadelementary-81b5ee7e16c37f96e2ac11d13893720bdd637e5c.tar.gz
notify: fix broken timeout feature in elm_notify
Add missing signal "elm,action,hide,finished" in notify theme and hide the notify object when hide is finished. fixes T2853 @fix
-rw-r--r--data/themes/edc/elm/notify.edc4
-rw-r--r--src/lib/elm_notify.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/data/themes/edc/elm/notify.edc b/data/themes/edc/elm/notify.edc
index 533ecc75a..3c8448b35 100644
--- a/data/themes/edc/elm/notify.edc
+++ b/data/themes/edc/elm/notify.edc
@@ -71,6 +71,10 @@ group { name: "elm/notify/top/default";
target: "clip";
target: "base";
transition: DECELERATE 0.5;
+ after: "hide_finish";
+ }
+ program { name: "hide_finish";
+ action: SIGNAL_EMIT "elm,action,hide,finished" "elm";
}
}
}
diff --git a/src/lib/elm_notify.c b/src/lib/elm_notify.c
index 82f98d302..3e78ad94f 100644
--- a/src/lib/elm_notify.c
+++ b/src/lib/elm_notify.c
@@ -431,6 +431,7 @@ _hide_finished_cb(void *data,
sd->had_hidden = EINA_TRUE;
evas_object_hide(sd->notify);
if (!sd->allow_events) evas_object_hide(sd->block_events);
+ evas_object_hide(data);
}
EOLIAN static void