Change default behaviour from 4 terminals to a single, normal sized terminal

This commit is contained in:
Chris Jones 2007-11-08 23:43:05 -05:00
parent c822ac7964
commit 85f21bec0e
1 changed files with 3 additions and 2 deletions

View File

@ -89,7 +89,7 @@ class TerminatorTerm:
self.clipboard = gtk.clipboard_get (gtk.gdk.SELECTION_CLIPBOARD) self.clipboard = gtk.clipboard_get (gtk.gdk.SELECTION_CLIPBOARD)
self._vte = vte.Terminal () self._vte = vte.Terminal ()
self._vte.set_size (25, 5) self._vte.set_size (80, 24)
self.reconfigure_vte () self.reconfigure_vte ()
self._vte.show () self._vte.show ()
@ -364,7 +364,8 @@ class Terminator:
self.window.show_all () 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. # 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) # FIXME: Until we have proper configs I'm going to disable this default splitting
#gobject.timeout_add (1000, self.do_initial_setup, term)
def do_initial_setup (self, term): def do_initial_setup (self, term):
term2 = self.splitaxis (term, True) term2 = self.splitaxis (term, True)