ami pushed a commit to branch master.

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

commit e14c12ca6b838622c1607d5a9ed56c94f8d7a8ca
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