From 474b9eb071b3bbd99a4ccfd35447f88f33ce6405 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Fri, 05 Dec 2008 20:16:33 +0000 Subject: minor bug fixes and PT translation --- (limited to 'tawindow.py') diff --git a/tawindow.py b/tawindow.py index 2ee2b38..a084a8f 100644 --- a/tawindow.py +++ b/tawindow.py @@ -39,7 +39,7 @@ from taproject import * # Setup # -def twNew(win, path, lang, parent=None): +def twNew(win, path, lang, tboxh, parent=None): tw = taWindow() tw.window = win tw.path = os.path.join(path,'images',lang) @@ -48,7 +48,7 @@ def twNew(win, path, lang, parent=None): width = gtk.gdk.screen_width() print "height: ", gtk.gdk.screen_height() # subtract toolbar height - height = gtk.gdk.screen_height() - 120 + height = gtk.gdk.screen_height() - tboxh win.set_size_request(width, height) if parent is None: win.show_all() else: parent.show_all() -- cgit v0.9.1