* src/PedView.py (PedigreeView.__init__): Add parent argument to the

constructor. Connect to the handling function on button press over the
canvas to enable context menu;
(on_canvas_press, build_nav_menu): Add functions to enable context menu.
* src/gramps_main.py (init_interface): Call PedView with self as parent.
* src/PlaceView.py (merge): Change error message from people to places.


svn: r2042
This commit is contained in:
Alex Roitman
2003-08-25 14:00:26 +00:00
parent fb10339133
commit 358f95a2be
4 changed files with 39 additions and 4 deletions

View File

@@ -363,7 +363,7 @@ class Gramps:
self.family_view = FamilyView.FamilyView(self)
self.pedigree_view = PedView.PedigreeView(
self.pedigree_view = PedView.PedigreeView(self,
self.canvas, self.modify_statusbar, self.statusbar,
self.change_active_person, self.load_person
)