From 266b662923eb8f4eb44edb625ef41b4c526c5dcd Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Tue, 5 Jan 2010 12:58:05 +0000 Subject: [PATCH] Support --geometry --- terminatorlib/window.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/terminatorlib/window.py b/terminatorlib/window.py index d75f689a..10a3a297 100755 --- a/terminatorlib/window.py +++ b/terminatorlib/window.py @@ -59,6 +59,10 @@ class Window(Container, gtk.Window): if role is not None: self.set_role(role) + if geometry is not None: + if not self.parse_geometry(geometry): + err('Window::__init__: Unable to parse geometry: %s' % geometry) + def register_callbacks(self): """Connect the GTK+ signals we care about""" self.connect('key-press-event', self.on_key_press)