clean some window management bugs

svn: r8888
This commit is contained in:
Benny Malengier
2007-08-29 12:50:37 +00:00
parent fb5541f635
commit 4a2e1058b0
6 changed files with 40 additions and 6 deletions

View File

@@ -273,6 +273,13 @@ class EditNote(EditPrimary):
log.debug("Initial Note: %s" % buffer.get_text())
else:
self.empty = True
def build_menu_names(self, person):
"""
Provides the information needed by the base class to define the
window management menu entries.
"""
return (_('Edit Note'), self.get_menu_title())
def on_textview_key_press_event(self, textview, event):
"""Handle shortcuts in the TextView."""