##// END OF EJS Templates
make ConsoleWidget LoggingConfigurable...
MinRK -
Show More
@@ -16,7 +16,7 b' from unicodedata import category'
16 16 from IPython.external.qt import QtCore, QtGui
17 17
18 18 # Local imports
19 from IPython.config.configurable import Configurable
19 from IPython.config.configurable import LoggingConfigurable
20 20 from IPython.frontend.qt.rich_text import HtmlExporter
21 21 from IPython.frontend.qt.util import MetaQObjectHasTraits, get_font
22 22 from IPython.utils.text import columnize
@@ -39,7 +39,7 b' def is_letter_or_number(char):'
39 39 # Classes
40 40 #-----------------------------------------------------------------------------
41 41
42 class ConsoleWidget(Configurable, QtGui.QWidget):
42 class ConsoleWidget(LoggingConfigurable, QtGui.QWidget):
43 43 """ An abstract base class for console-type widgets. This class has
44 44 functionality for:
45 45
@@ -170,7 +170,7 b' class ConsoleWidget(Configurable, QtGui.QWidget):'
170 170 The parent for this widget.
171 171 """
172 172 QtGui.QWidget.__init__(self, parent)
173 Configurable.__init__(self, **kw)
173 LoggingConfigurable.__init__(self, **kw)
174 174
175 175 # Create the layout and underlying text widget.
176 176 layout = QtGui.QStackedLayout(self)
General Comments 0
You need to be logged in to leave comments. Login now