* 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:
Benny Malengier
2008-01-17 23:15:08 +00:00
parent 65141d25ac
commit 01460af4ef
5 changed files with 184 additions and 49 deletions

View File

@@ -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)