* src/gramps_main.py (init_interface): Call PedView with self as parent;

(set_buttons,change_active_person): Fix enabling the buttons.


svn: r2044
This commit is contained in:
Alex Roitman 2003-08-25 20:38:35 +00:00
parent abccad7131
commit 7adaa38b83
2 changed files with 9 additions and 8 deletions

View File

@ -4,7 +4,8 @@
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/gramps_main.py (init_interface): Call PedView with self as parent;
(set_buttons,change_active_person): Fix enabling the buttons.
* src/PlaceView.py (merge): Change error message from people to places.
2003-08-24 Don Allingham <dallingham@users.sourceforge.net>

View File

@ -463,6 +463,7 @@ class Gramps:
self.tools_menu.set_sensitive(val)
self.report_button.set_sensitive(val)
self.tool_button.set_sensitive(val)
if self.views.get_current_page() == 0:
self.remove_button.set_sensitive(val)
self.edit_button.set_sensitive(val)
@ -1644,7 +1645,6 @@ class Gramps:
self.backbtn.set_sensitive(0)
self.back.set_sensitive(0)
if self.views.get_current_page == 1:
if person:
self.set_buttons(1)
else: