diff options
| author | Manuel Traut <manut@linutronix.de> | 2010-01-28 01:48:03 +0100 |
|---|---|---|
| committer | Manuel Traut <manut@linutronix.de> | 2010-01-28 01:48:03 +0100 |
| commit | 397b8b455e29677ac6bcd21c2b59eac4592aef40 (patch) | |
| tree | ff5123bbd4f3ac89fc9de724997b760cd69c5d44 /src/YalpClients/EflClient/medialist.py | |
| parent | 873727ce82608db9d6b16db85b2436d54e99629f (diff) | |
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 <manut@mecka.net>
Diffstat (limited to 'src/YalpClients/EflClient/medialist.py')
| -rw-r--r-- | src/YalpClients/EflClient/medialist.py | 12 |
1 files changed, 4 insertions, 8 deletions
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) |
