forked from enlightenment/enlightenment
item -> e.swallow.content (thanks bonelessfrog)
SVN revision: 25082
This commit is contained in:
parent
88092a49bf
commit
d114f82b27
|
@ -55,7 +55,7 @@ group {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
part {
|
part {
|
||||||
name: "item";
|
name: "e.swallow.content";
|
||||||
clip_to: "clipper";
|
clip_to: "clipper";
|
||||||
type: SWALLOW;
|
type: SWALLOW;
|
||||||
mouse_events: 0;
|
mouse_events: 0;
|
||||||
|
|
|
@ -99,7 +99,7 @@ e_scrollframe_child_set(Evas_Object *obj, Evas_Object *child)
|
||||||
evas_object_smart_callback_add(o, "changed", _e_smart_pan_changed_hook, sd);
|
evas_object_smart_callback_add(o, "changed", _e_smart_pan_changed_hook, sd);
|
||||||
evas_object_smart_callback_add(o, "changed", _e_smart_pan_pan_changed_hook, sd);
|
evas_object_smart_callback_add(o, "changed", _e_smart_pan_pan_changed_hook, sd);
|
||||||
evas_object_show(o);
|
evas_object_show(o);
|
||||||
edje_object_part_swallow(sd->edje_obj, "item", o);
|
edje_object_part_swallow(sd->edje_obj, "e.swallow.content", o);
|
||||||
}
|
}
|
||||||
|
|
||||||
sd->pan_func.set = e_pan_set;
|
sd->pan_func.set = e_pan_set;
|
||||||
|
@ -156,7 +156,7 @@ e_scrollframe_extern_pan_set(Evas_Object *obj, Evas_Object *pan,
|
||||||
sd->extern_pan = 1;
|
sd->extern_pan = 1;
|
||||||
evas_object_smart_callback_add(sd->pan_obj, "changed", _e_smart_pan_changed_hook, sd);
|
evas_object_smart_callback_add(sd->pan_obj, "changed", _e_smart_pan_changed_hook, sd);
|
||||||
evas_object_smart_callback_add(sd->pan_obj, "pan_changed", _e_smart_pan_pan_changed_hook, sd);
|
evas_object_smart_callback_add(sd->pan_obj, "pan_changed", _e_smart_pan_pan_changed_hook, sd);
|
||||||
edje_object_part_swallow(sd->edje_obj, "item", sd->pan_obj);
|
edje_object_part_swallow(sd->edje_obj, "e.swallow.content", sd->pan_obj);
|
||||||
evas_object_show(sd->pan_obj);
|
evas_object_show(sd->pan_obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue