From 397b8b455e29677ac6bcd21c2b59eac4592aef40 Mon Sep 17 00:00:00 2001 From: Manuel Traut Date: Thu, 28 Jan 2010 01:48:03 +0100 Subject: EflClient: fix shutdown elm boxes arent allowed to be swallowed into edje, because they have no references to their content, so it cannot be cleaned up by edje Signed-off-by: Manuel Traut --- src/YalpClients/EflClient/medialist.py | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'src/YalpClients/EflClient/medialist.py') diff --git a/src/YalpClients/EflClient/medialist.py b/src/YalpClients/EflClient/medialist.py index 0ea8f5f..c3a3e70 100644 --- a/src/YalpClients/EflClient/medialist.py +++ b/src/YalpClients/EflClient/medialist.py @@ -30,22 +30,18 @@ class Medias(object): ("klmno", self.huhu), ("pqrst", self.huhu), ("uvwxyz", self.huhu)] - + medialist = elementary.List(win); medialist.size_hint_weight_set(1.0, 1.0) medialist.size_hint_align_set(-1.0, -1.0) - box0 = elementary.Box(win) - win.resize_object_add(box0) c.part_swallow("medialist", medialist) - box0.pack_end(medialist) - medialist.show() - + for item in items: #print item[0] medialist.item_append(item[0], None, None, item[1]) - + + medialist.show() medialist.go() - box0.show() def add_button(self): addbutton = elementary.Button(self.win) -- cgit v1.2.3