diff options
author | Marco Pesenti Gritti <mpg@redhat.com> | 2007-02-14 14:34:34 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <mpg@redhat.com> | 2007-02-14 14:34:34 (GMT) |
commit | 4c192c4c73e7899e36fdfe57619c2b70b85cceb5 (patch) | |
tree | 4b0ea3f40294545726449fc53af6330e92efdc89 /sugar-emulator | |
parent | e1ef7398e288c7b53b7b50960198333b15bc65f1 (diff) |
Do not exceed 1200x900
Diffstat (limited to 'sugar-emulator')
-rwxr-xr-x | sugar-emulator | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sugar-emulator b/sugar-emulator index 190f98c..29b3b6f 100755 --- a/sugar-emulator +++ b/sugar-emulator @@ -48,7 +48,7 @@ if gtk.gdk.screen_width() / 4 * 3 == gtk.gdk.screen_height(): gtk.gdk.screen_height() <= 900) else: fullscreen = False - height = gtk.gdk.screen_height() - 50 + height = min(1200, gtk.gdk.screen_height() - 50) width = height * 4 / 3 emulator = Emulator(width, height, fullscreen) |