Change default behaviour from 4 terminals to a single, normal sized terminal
This commit is contained in:
parent
c822ac7964
commit
85f21bec0e
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue