diff options
author | Walter Bender <walter@walter-laptop.(none)> | 2008-12-05 20:16:33 (GMT) |
---|---|---|
committer | Walter Bender <walter@walter-laptop.(none)> | 2008-12-05 20:16:33 (GMT) |
commit | 474b9eb071b3bbd99a4ccfd35447f88f33ce6405 (patch) | |
tree | 72851b374aa362913e450aa9383580476dd14ee9 /tawindow.py | |
parent | 23d1756ec9274de827214e7d83f8e43463c2df2a (diff) |
minor bug fixes and PT translation
Diffstat (limited to 'tawindow.py')
-rw-r--r-- | tawindow.py | 4 |
1 files changed, 2 insertions, 2 deletions
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() |