diff --git a/ChangeLog b/ChangeLog index 2148e1800..9cfa60651 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003-06-11 Alex Roitman + * src/EditPlace.py (on_switch_page): Fix page numbers to enable proper + loading of gallery and references. + 2003-06-11 Alex Roitman * src/plugins/BookReport.py (Book.pop_item): Add missing return statement. diff --git a/src/EditPlace.py b/src/EditPlace.py index 64a081791..67389d46c 100644 --- a/src/EditPlace.py +++ b/src/EditPlace.py @@ -1,7 +1,7 @@ # # Gramps - a GTK+/GNOME based genealogy program # -# Copyright (C) 2000 Donald N. Allingham +# Copyright (C) 2000-2003 Donald N. Allingham # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -280,10 +280,10 @@ class EditPlace: self.callback(self.place) def on_switch_page(self,obj,a,page): - if page == 3 and self.not_loaded: + if page == 4 and self.not_loaded: self.not_loaded = 0 self.glry.load_images() - elif page == 5 and self.ref_not_loaded: + elif page == 6 and self.ref_not_loaded: self.ref_not_loaded = 0 self.display_references()