* src/EditPlace.py (on_switch_page): Fix page numbers to enable proper

loading of gallery and references.


svn: r1711
This commit is contained in:
Alex Roitman 2003-06-12 02:17:52 +00:00
parent 57bd52fd17
commit 6ffc56ad15
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2003-06-11 Alex Roitman <shura@alex.neuro.umn.edu>
* src/EditPlace.py (on_switch_page): Fix page numbers to enable proper
loading of gallery and references.
2003-06-11 Alex Roitman <shura@alex.neuro.umn.edu>
* src/plugins/BookReport.py (Book.pop_item): Add missing return
statement.

View File

@ -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()