* 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:
@@ -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
|
||||
|
Reference in New Issue
Block a user