appease pylint and begin the terminal class

This commit is contained in:
Chris Jones 2009-08-11 23:27:56 +01:00
parent 92fe7007ed
commit 7547eaad4b
1 changed files with 7 additions and 3 deletions

View File

@ -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: