diff --git a/terminatorlib/terminal.py b/terminatorlib/terminal.py index 46aba4a4..d94ee9cf 100755 --- a/terminatorlib/terminal.py +++ b/terminatorlib/terminal.py @@ -14,19 +14,23 @@ import pango try: import vte except ImportError: - error = gtk.MessageDialog(None, + ERROR = gtk.MessageDialog(None, gtk.DIALOG_MODAL, gtk.MESSAGE_ERROR, gtk.BUTTONS_OK, 'You need to install python bindings for libvte') - error.run() + ERROR.run() sys.exit(1) class Terminal(gtk.VBox): """Class implementing the VTE widget and its wrappings""" + vte = None + def __init__(self): """Class initialiser""" - pass + gtk.VBox.__init__(self) + + self.vte = vte.Terminal() # vim: set expandtab ts=4 sw=4: