Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar-emulator
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2007-02-16 10:39:41 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2007-02-16 10:39:41 (GMT)
commit086a8e90ebab3acf857deb2a7e4ce2f02e27ea88 (patch)
tree74b478032f5d6df3ec1925fe9d90ffadab4e9aeb /sugar-emulator
parent94399350c1d228f091ad70004c954e069f02da6e (diff)
Add a comment about 4:3. Patch by Joshua N Pritikin
Diffstat (limited to 'sugar-emulator')
-rwxr-xr-xsugar-emulator2
1 files changed, 2 insertions, 0 deletions
diff --git a/sugar-emulator b/sugar-emulator
index 01c7b39..1567458 100755
--- a/sugar-emulator
+++ b/sugar-emulator
@@ -42,6 +42,8 @@ if len(sys.argv) == 1:
else:
program = sys.argv[1]
+# Various things in sugar currently depend on the screen size being in
+# a width:height porportion of 4:3.
width = height = -1
if gtk.gdk.screen_width() / 4 * 3 == gtk.gdk.screen_height():
fullscreen = (gtk.gdk.screen_width() <= 1200 or