Reset buttons when we reset the buffer

svn: r15778
This commit is contained in:
Doug Blank 2010-08-19 23:32:36 +00:00
parent 63d5ea6cb6
commit 88667a7c5e

View File

@ -398,6 +398,8 @@ class StyledTextEditor(gtk.TextView):
Reset the undoable buffer
"""
self.textbuffer.reset()
self.undo_action.set_sensitive(False)
self.redo_action.set_sensitive(False)
# private methods