diff options
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() |