* src/DisplayTabs/_EmbeddedList.py: allow to define middle click

* src/Editors/_EditFamily.py: middle click on child calls edit child

2008-02-12 Benny Malengier <benny.malengier@gramps-project.org>


svn: r10021
This commit is contained in:
Benny Malengier
2008-02-12 12:38:47 +00:00
parent 3dbfd6cbac
commit 06b2b6da38
3 changed files with 17 additions and 0 deletions

View File

@@ -125,6 +125,9 @@ class ChildEmbedList(EmbeddedList):
(True, True, gtk.STOCK_REMOVE, self.del_button_clicked),
]
def get_middle_click(self):
return self.edit_child_button_clicked
def find_index(self, obj):
"""
returns the index of the object within the associated data