Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/shell.py
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2006-06-30 15:30:32 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2006-06-30 15:30:32 (GMT)
commit27927f80f63dcb25a208bf98150a4b3f8d2f856d (patch)
tree9247ed6515ee31ed68dc1dd52cf96124dd74914d /shell/shell.py
parent70683c175350289b3291b1dca50eb65daa5033d6 (diff)
Tweak sizing and positioning to fit better on the olpc
Diffstat (limited to 'shell/shell.py')
-rwxr-xr-xshell/shell.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/shell.py b/shell/shell.py
index 1647314..c293d5f 100755
--- a/shell/shell.py
+++ b/shell/shell.py
@@ -352,7 +352,7 @@ class ActivityContainer(dbus.service.Object):
wm = WindowManager(self._presence_window)
- wm.set_width(0.18, WindowManager.SCREEN_RELATIVE)
+ wm.set_width(170, WindowManager.ABSOLUTE)
wm.set_height(1.0, WindowManager.SCREEN_RELATIVE)
wm.set_position(WindowManager.LEFT)
wm.manage()
@@ -365,8 +365,8 @@ class ActivityContainer(dbus.service.Object):
self._chat_wm = WindowManager(self._chat_window)
- self._chat_wm.set_width(0.5, WindowManager.SCREEN_RELATIVE)
- self._chat_wm.set_height(0.5, WindowManager.SCREEN_RELATIVE)
+ self._chat_wm.set_width(420, WindowManager.ABSOLUTE)
+ self._chat_wm.set_height(380, WindowManager.ABSOLUTE)
self._chat_wm.set_position(WindowManager.TOP)
self._chat_wm.manage()