class PythonConsoleView(gtk.ScrolledWindow):

    def __init__(self, main):
        gtk.ScrolledWindow.__init__(self)
        self.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC)
        self._console = PythonConsole()
        self.add(self._console)
        self._console.show()



    def get_icon(self):
        return 'condensation-python-console-icon'



    def get_name(self):
        return "Python Console"
 def __init__(self, main):
     gtk.ScrolledWindow.__init__(self)
     self.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC)
     self._console = PythonConsole()
     self.add(self._console)
     self._console.show()