diff options
author | James <olpc@localhost.localdomain> | 2007-02-20 00:15:32 (GMT) |
---|---|---|
committer | James <olpc@localhost.localdomain> | 2007-02-20 00:15:32 (GMT) |
commit | ed12c41b6edb0a26c861790a79918757807825e9 (patch) | |
tree | 09c0e03ec1b422b75178d55afa1f059b5a02d7fb /TamTam.py | |
parent | f172a86bf7a1d0328dcda10ea06761fe4cb70522 (diff) | |
parent | 3a200cfa5b2f0226bc78ea18a9d82b49dcb67808 (diff) |
merged
Diffstat (limited to 'TamTam.py')
-rwxr-xr-x | TamTam.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -43,7 +43,9 @@ if __name__ == "__main__": tamtam = MainWindow() mainwin = gtk.Window(gtk.WINDOW_TOPLEVEL) mainwin.set_title('TamTam Player') - mainwin.set_geometry_hints( None, 1200, 900, 1200, 900, 1200, 900 ) + display = mainwin.get_display() + screen = gtk.gdk.Display.get_default_screen(display) + mainwin.set_geometry_hints( None, screen.get_width(), screen.get_height(), screen.get_width(), screen.get_height(), screen.get_width(), screen.get_height() ) #mainwin.fullscreen() # don't need to specify full screen, it seem to sit properly anyway mainwin.set_resizable(False) mainwin.connect('destroy' , tamtam.destroy ) |