From 7547eaad4b3bee84753c9267fafd82320e7b6a05 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Tue, 11 Aug 2009 23:27:56 +0100 Subject: [PATCH] appease pylint and begin the terminal class --- terminatorlib/terminal.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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: