summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYakov Goldberg <yakov.g@samsung.com>2014-05-21 10:46:32 +0300
committerYakov Goldberg <yakov.g@samsung.com>2014-05-21 10:47:50 +0300
commitf9ff097b5a9a845880c450a9d915d6629f5b4762 (patch)
tree647ff965862c73e46355d24a32728657b2893b5e
parentede5bf5aa3719b1f3582d79344e485c730e480d2 (diff)
fix packing when adding callback
-rw-r--r--src/bin/egui_gui/propview.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/egui_gui/propview.c b/src/bin/egui_gui/propview.c
index aa3ed77..03b3421 100644
--- a/src/bin/egui_gui/propview.c
+++ b/src/bin/egui_gui/propview.c
@@ -197,7 +197,8 @@ _cb_add(void *data, Eo *obj EINA_UNUSED, void *event_info EINA_UNUSED)
197 it_data->cb = cb; 197 it_data->cb = cb;
198 198
199 Eo *it_box = _item_content_get(it_data); 199 Eo *it_box = _item_content_get(it_data);
200 eo_do(sc_box, elm_obj_box_pack_end(it_box)); 200 Eo *it_box_before = eina_hash_find(cb_item_table, &cb_before);
201 eo_do(sc_box, elm_obj_box_pack_after(it_box, it_box_before));
201 eina_hash_set(cb_item_table, &cb, it_box); 202 eina_hash_set(cb_item_table, &cb, it_box);
202} 203}
203 204