ami pushed a commit to branch elementary-1.16.

http://git.enlightenment.org/core/elementary.git/commit/?id=81b5ee7e16c37f96e2ac11d13893720bdd637e5c

commit 81b5ee7e16c37f96e2ac11d13893720bdd637e5c
Author: Amitesh Singh <amitesh...@samsung.com>
Date:   Fri Nov 20 14:26:36 2015 +0530

    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
---
 data/themes/edc/elm/notify.edc | 4 ++++
 src/lib/elm_notify.c           | 1 +
 2 files changed, 5 insertions(+)

diff --git a/data/themes/edc/elm/notify.edc b/data/themes/edc/elm/notify.edc
index 533ecc7..3c8448b 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 82f98d3..3e78ad9 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

-- 


Reply via email to