2008-02-12 Benny Malengier <benny.malengier@gramps-project.org>
* src/Editors/_EditFamily.py: popup: edit child at top, add images. * src/DisplayTabs/_EmbeddedList.py: allow popup with image/custom text * src/DisplayModels/_BaseModel.py: add comment to function * src/DisplayModels/_NoteModel.py: test, UTF-8 for preview svn: r10020
This commit is contained in:
@@ -115,10 +115,13 @@ class ChildEmbedList(EmbeddedList):
|
||||
|
||||
def get_popup_menu_items(self):
|
||||
return [
|
||||
(False, True, (gtk.STOCK_EDIT, _('Edit child')),
|
||||
self.edit_child_button_clicked),
|
||||
(True, True, gtk.STOCK_ADD, self.add_button_clicked),
|
||||
(True, False, _('Add an existing child'), self.share_button_clicked),
|
||||
(False,True, _('Edit relationship'), self.edit_button_clicked),
|
||||
(False,True, _('Edit child'), self.edit_child_button_clicked),
|
||||
(True, False, _('Add an existing child'),
|
||||
self.share_button_clicked),
|
||||
(False, True, (gtk.STOCK_EDIT, _('Edit relationship')),
|
||||
self.edit_button_clicked),
|
||||
(True, True, gtk.STOCK_REMOVE, self.del_button_clicked),
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user