Splitaxis not allowed while in full-window mode

This commit is contained in:
Edoardo Batini 2008-05-22 15:01:02 +02:00
parent e3bc453031
commit 3086c75429

View File

@ -710,7 +710,9 @@ class Terminator:
def splitaxis (self, widget, vertical=True):
""" Split the provided widget on the horizontal or vertical axis. """
#should disable splitaxis menu instead?
if self._fullwindow:
return
# create a new terminal and parent pane.
terminal = TerminatorTerm (self, self.profile, None, widget.get_cwd())
pane = (vertical) and gtk.VPaned () or gtk.HPaned ()