aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-04-26 15:51:09 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-04-30 20:45:43 +0200
commit1b6ac14b3f7de1bcb3c275acb34ac1928c09dd26 (patch)
tree13f4ba21c9203eebb5572d696f0ca8a23a21c322
parentefl_ui_pager: lets stop returning false when in animation (diff)
downloadefl-1b6ac14b3f7de1bcb3c275acb34ac1928c09dd26.tar.gz
efl_ui_pager: provide a pack( implementation
this is needed in order to make efl_ui_pager complete. Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8739
-rw-r--r--src/lib/elementary/efl_ui_pager.c6
-rw-r--r--src/lib/elementary/efl_ui_pager.eo1
2 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_pager.c b/src/lib/elementary/efl_ui_pager.c
index 580887cdef..b386a034be 100644
--- a/src/lib/elementary/efl_ui_pager.c
+++ b/src/lib/elementary/efl_ui_pager.c
@@ -906,6 +906,10 @@ _efl_ui_pager_efl_pack_linear_pack_unpack_at(Eo *obj,
return subobj;
}
-
+EOLIAN static Eina_Bool
+_efl_ui_pager_efl_pack_pack(Eo *obj, Efl_Ui_Pager_Data *pd EINA_UNUSED, Efl_Gfx_Entity *subobj)
+{
+ return efl_pack_begin(obj, subobj);
+}
#include "efl_ui_pager.eo.c"
diff --git a/src/lib/elementary/efl_ui_pager.eo b/src/lib/elementary/efl_ui_pager.eo
index 646be5accd..9ac10db195 100644
--- a/src/lib/elementary/efl_ui_pager.eo
+++ b/src/lib/elementary/efl_ui_pager.eo
@@ -95,6 +95,7 @@ class @beta Efl.Ui.Pager extends Efl.Ui.Layout_Base implements Efl.Pack_Linear
Efl.Pack.pack_clear; //TODO
Efl.Pack.unpack_all; //TODO
Efl.Pack.unpack; //TODO
+ Efl.Pack.pack;
Efl.Pack_Linear.pack_begin;
Efl.Pack_Linear.pack_end;
Efl.Pack_Linear.pack_before;