forked from enlightenment/efl
notify: changed animation finish data.item for notify.
- data.item: "emit_hide_finished_signal" "yes"; + data.item: "hide_finished_signal" "on";
This commit is contained in:
parent
5fd81d8849
commit
50f8770cbd
|
@ -19,7 +19,7 @@ group { name: "elm/notify/block_events/default";
|
|||
}
|
||||
group { name: "elm/notify/top/default";
|
||||
//this group is a design similar to the inwin group
|
||||
data.item: "emit_hide_finished_signal" "yes";
|
||||
data.item: "hide_finished_signal" "on";
|
||||
images {
|
||||
image: "shad_circ.png" COMP;
|
||||
image: "bt_dis_base.png" COMP;
|
||||
|
@ -111,7 +111,7 @@ group { name: "elm/notify/top/default";
|
|||
}
|
||||
group { name: "elm/notify/center/default";
|
||||
//this group is a design similar to the inwin group
|
||||
data.item: "emit_hide_finished_signal" "yes";
|
||||
data.item: "hide_finished_signal" "on";
|
||||
images {
|
||||
image: "bt_dis_base.png" COMP;
|
||||
}
|
||||
|
@ -187,7 +187,7 @@ group { name: "elm/notify/center/default";
|
|||
|
||||
group { name: "elm/notify/bottom/default";
|
||||
//this group is a design similar to the inwin group
|
||||
data.item: "emit_hide_finished_signal" "yes";
|
||||
data.item: "hide_finished_signal" "on";
|
||||
images {
|
||||
image: "shad_circ.png" COMP;
|
||||
image: "bt_dis_base.png" COMP;
|
||||
|
@ -279,7 +279,7 @@ group { name: "elm/notify/bottom/default";
|
|||
}
|
||||
group { name: "elm/notify/left/default";
|
||||
//this group is a design similar to the inwin group
|
||||
data.item: "emit_hide_finished_signal" "yes";
|
||||
data.item: "hide_finished_signal" "on";
|
||||
images {
|
||||
image: "shad_circ.png" COMP;
|
||||
image: "bt_dis_base.png" COMP;
|
||||
|
@ -371,7 +371,7 @@ group { name: "elm/notify/left/default";
|
|||
}
|
||||
group { name: "elm/notify/right/default";
|
||||
//this group is a design similar to the inwin group
|
||||
data.item: "emit_hide_finished_signal" "yes";
|
||||
data.item: "hide_finished_signal" "on";
|
||||
images {
|
||||
image: "shad_circ.png" COMP;
|
||||
image: "bt_dis_base.png" COMP;
|
||||
|
@ -463,7 +463,7 @@ group { name: "elm/notify/right/default";
|
|||
}
|
||||
group { name: "elm/notify/top_left/default";
|
||||
//this group is a design similar to the inwin group
|
||||
data.item: "emit_hide_finished_signal" "yes";
|
||||
data.item: "hide_finished_signal" "on";
|
||||
images {
|
||||
image: "shad_circ.png" COMP;
|
||||
image: "bt_dis_base.png" COMP;
|
||||
|
@ -555,7 +555,7 @@ group { name: "elm/notify/top_left/default";
|
|||
}
|
||||
group { name: "elm/notify/top_right/default";
|
||||
//this group is a design similar to the inwin group
|
||||
data.item: "emit_hide_finished_signal" "yes";
|
||||
data.item: "hide_finished_signal" "on";
|
||||
images {
|
||||
image: "shad_circ.png" COMP;
|
||||
image: "bt_dis_base.png" COMP;
|
||||
|
@ -647,7 +647,7 @@ group { name: "elm/notify/top_right/default";
|
|||
}
|
||||
group { name: "elm/notify/bottom_left/default";
|
||||
//this group is a design similar to the inwin group
|
||||
data.item: "emit_hide_finished_signal" "yes";
|
||||
data.item: "hide_finished_signal" "on";
|
||||
images {
|
||||
image: "shad_circ.png" COMP;
|
||||
image: "bt_dis_base.png" COMP;
|
||||
|
@ -739,7 +739,7 @@ group { name: "elm/notify/bottom_left/default";
|
|||
}
|
||||
group { name: "elm/notify/bottom_right/default";
|
||||
//this group is a design similar to the inwin group
|
||||
data.item: "emit_hide_finished_signal" "yes";
|
||||
data.item: "hide_finished_signal" "on";
|
||||
images {
|
||||
image: "shad_circ.png" COMP;
|
||||
image: "bt_dis_base.png" COMP;
|
||||
|
|
|
@ -249,8 +249,8 @@ _timer_cb(void *data)
|
|||
sd->timer = NULL;
|
||||
if (!evas_object_visible_get(obj)) goto end;
|
||||
|
||||
hide_signal = edje_object_data_get(sd->notify, "emit_hide_finished_signal");
|
||||
if ((hide_signal) && (!strcmp(hide_signal, "yes")))
|
||||
hide_signal = edje_object_data_get(sd->notify, "hide_finished_signal");
|
||||
if ((hide_signal) && (!strcmp(hide_signal, "on")))
|
||||
{
|
||||
sd->in_timeout = EINA_TRUE;
|
||||
edje_object_signal_emit(sd->notify, "elm,state,hide", "elm");
|
||||
|
@ -301,8 +301,8 @@ _elm_notify_smart_hide(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
|
|||
return;
|
||||
eo_do_super(obj, MY_CLASS, evas_obj_smart_hide());
|
||||
|
||||
hide_signal = edje_object_data_get(sd->notify, "emit_hide_finished_signal");
|
||||
if ((hide_signal) && (!strcmp(hide_signal, "yes")))
|
||||
hide_signal = edje_object_data_get(sd->notify, "hide_finished_signal");
|
||||
if ((hide_signal) && (!strcmp(hide_signal, "on")))
|
||||
{
|
||||
if (!sd->in_timeout)
|
||||
edje_object_signal_emit(sd->notify, "elm,state,hide", "elm");
|
||||
|
|
Loading…
Reference in New Issue