summaryrefslogtreecommitdiff
path: root/src/YalpClients/EflClient/eyalp.py
diff options
context:
space:
mode:
authorManuel Traut <manut@mecka.net>2010-08-19 14:46:44 +0200
committerManuel Traut <manut@mecka.net>2010-08-19 14:46:44 +0200
commitbccb1cf82542d61af0c54f62e78214c26e7e5528 (patch)
tree720fe8523d7e5980c9ac604f6af01e4e22a07ac5 /src/YalpClients/EflClient/eyalp.py
parent7af60bd4f737923b81f00fa4b2cee835c563be2b (diff)
eyalp: edje file for desktop and openmoko guiHEADdamba
Signed-off-by: Manuel Traut <manut@mecka.net>
Diffstat (limited to 'src/YalpClients/EflClient/eyalp.py')
-rwxr-xr-xsrc/YalpClients/EflClient/eyalp.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/YalpClients/EflClient/eyalp.py b/src/YalpClients/EflClient/eyalp.py
index 9865d6a..3c6cdb0 100755
--- a/src/YalpClients/EflClient/eyalp.py
+++ b/src/YalpClients/EflClient/eyalp.py
@@ -27,12 +27,13 @@ def gui():
win.autodel_set(True)
- edje_file = os.path.join(os.path.dirname(sys.argv[0]),"yalp_gui.edj")
+ edje_file = os.path.join(os.path.dirname(sys.argv[0]), sys.argv[1])
c = edje.Edje(win.canvas, file=edje_file, group = "yalp")
s = searchframe.Search(win, c)
c.show()
- win.resize(480,620)
+ dim = c.part_geometry_get("main")
+ win.resize(dim[2],dim[3])
win.show()
elementary.run();
print "quit main loop"