* 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 c0d79487b5
commit 313faca8da
4 changed files with 39 additions and 4 deletions

View File

@@ -146,8 +146,8 @@ class PlaceView:
self.selection.selected_foreach(self.blist,mlist)
if len(mlist) != 2:
msg = _("Cannot merge people.")
msg2 = _("Exactly two people must be selected to perform a merge.")
msg = _("Cannot merge places.")
msg2 = _("Exactly two places must be selected to perform a merge.")
ErrorDialog(msg,msg2)
else:
import MergeData