2007-01-27 Don Allingham <don@gramps-project.org>

* src/Editors/_EditPerson.py (EditPerson._image_button_press): check
	for window already being open (#882)



svn: r7995
This commit is contained in:
Don Allingham 2007-01-27 18:28:29 +00:00
parent 6825b80402
commit d2633548af
3 changed files with 20 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2007-01-27 Don Allingham <don@gramps-project.org>
* src/Editors/_EditPerson.py (EditPerson._image_button_press): check
for window already being open (#882)
2007-01-26 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_WriteGedcom.py: make unicode the default for export
* src/GrampsDb/gedcompexport.glade: remove unused dialog

9
NEWS
View File

@ -1,3 +1,12 @@
Version 2.2.5 -- the "Now go away or I shall taunt you a second time" release
* Peformance optimizations (Don Allingham, Alex Roitman, Richard Taylor)
* New date entry provides a new visual indicator (fade in/out of background
color) instead of the old "LED" buttons. (Zsolt Foldvari)
* Better error checking
* Better longitude/lattitude handling, mapping (Benny Malengier, Zolt Foldvari)
* Bug fixes (Don Allingham, Martin Hawlisch, Brian Matherly, Alex Roitman, Douglas Blank,
Stefan Bjork, Richard Taylor)
Version 2.2.4 -- the "When you're chewing on life's gristle, Don't grumble, give a whistle" release
* Improved handling of readonly files
* Enhanced parsing of longitute and latitude and mapping

View File

@ -59,6 +59,7 @@ import Mime
import RelLib
import GrampsWidgets
import NameDisplay
import Errors
from GrampsDb import set_birth_death_index
@ -407,8 +408,12 @@ class EditPerson(EditPrimary):
object_handle = media_ref.get_reference_handle()
media_obj = self.db.get_object_from_handle(object_handle)
EditMediaRef(self.dbstate, self.uistate, self.track,
media_obj, media_ref, self._image_callback)
try:
EditMediaRef(self.dbstate, self.uistate, self.track,
media_obj, media_ref, self._image_callback)
except Errors.WindowActiveError, msg:
pass
elif event.type == gtk.gdk.BUTTON_PRESS and event.button == 3:
media_list = self.obj.get_media_list()
if media_list: