2008-01-18 Benny Malengier <benny.malengier@gramps-project.org>
* src/Editors/_EditNote.py: focus on text field on start * src/Editors/_EditChildRef.py: add usability: name of child, edit btn * src/Editors/_EditFamily.py: grab Errors.WindowActiveError * src/glade/gramps.glade: add usability to childref, see #1462 svn: r9873
This commit is contained in:
@@ -353,6 +353,9 @@ class EditNote(EditPrimary):
|
||||
"""
|
||||
return (_('Edit Note'), self.get_menu_title())
|
||||
|
||||
def _post_init(self):
|
||||
self.text.grab_focus()
|
||||
|
||||
def on_textview_key_press_event(self, textview, event):
|
||||
"""Handle shortcuts in the TextView."""
|
||||
return textview.get_buffer().on_key_press_event(textview, event)
|
||||
|
Reference in New Issue
Block a user