Add a comment about 4:3. Patch by Joshua N Pritikin

This commit is contained in:
Marco Pesenti Gritti 2007-02-16 11:39:41 +01:00
parent 94399350c1
commit 086a8e90eb

View File

@ -42,6 +42,8 @@ if len(sys.argv) == 1:
else: else:
program = sys.argv[1] 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 width = height = -1
if gtk.gdk.screen_width() / 4 * 3 == gtk.gdk.screen_height(): if gtk.gdk.screen_width() / 4 * 3 == gtk.gdk.screen_height():
fullscreen = (gtk.gdk.screen_width() <= 1200 or fullscreen = (gtk.gdk.screen_width() <= 1200 or