* 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:
parent
2038fb4997
commit
3b8a6aec8f
@ -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>
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user