From f9f46b3b4a23f3b970bd0d32df2a6cddcdc2198f Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Wed, 7 Nov 2007 14:57:56 -0500 Subject: [PATCH] Re-enable initial 4-way splitting and window maximisation. Also fixes the inability of the window to ever get smaller than it grows to. Many many thanks to Kees Cook for tracking this one down to a GTK property the docs claim 99% of apps should never need. I feel special to be the 1% --- terminator | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/terminator b/terminator index a48fd8d2..9ec5935d 100755 --- a/terminator +++ b/terminator @@ -334,7 +334,9 @@ class Terminator: self.window.set_icon (self.icon) self.window.connect ("delete_event", self.on_delete_event) self.window.connect ("destroy", self.on_destroy_event) -# self.window.maximize () + self.window.maximize () + + self.window.set_property ('allow-shrink', True) # Start out with just one terminal # FIXME: This should be really be decided from some kind of profile @@ -345,7 +347,7 @@ class Terminator: self.window.show_all () # For some unknown reason, spawning 4 terminals at the speed python executes on my laptop causes them all to hang, so we will make one, wait a second and then split ourselves, which works fine. Weird. -# gobject.timeout_add (1000, self.do_initial_setup, term) + gobject.timeout_add (1000, self.do_initial_setup, term) def do_initial_setup (self, term): term2 = self.splitaxis (term, True)