Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TamTam.py
diff options
context:
space:
mode:
authorJames <olpc@localhost.localdomain>2007-02-20 00:15:32 (GMT)
committer James <olpc@localhost.localdomain>2007-02-20 00:15:32 (GMT)
commited12c41b6edb0a26c861790a79918757807825e9 (patch)
tree09c0e03ec1b422b75178d55afa1f059b5a02d7fb /TamTam.py
parentf172a86bf7a1d0328dcda10ea06761fe4cb70522 (diff)
parent3a200cfa5b2f0226bc78ea18a9d82b49dcb67808 (diff)
merged
Diffstat (limited to 'TamTam.py')
-rwxr-xr-xTamTam.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/TamTam.py b/TamTam.py
index fa60b48..10f17ba 100755
--- a/TamTam.py
+++ b/TamTam.py
@@ -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 )