From ad2c2d2bff39da352614b1d8228962a19d10799c Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Wed, 4 Feb 2004 04:42:06 +0000 Subject: [PATCH] * src/FamilyView.py: new text string for "unknown" spouse * src/ImageSelect.py: integer conversions for event.x, event.y * src/const.py.in: copyright date update svn: r2767 --- gramps2/src/FamilyView.py | 2 +- gramps2/src/ImageSelect.py | 2 +- gramps2/src/const.py.in | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gramps2/src/FamilyView.py b/gramps2/src/FamilyView.py index 4879a9ea0..286edacfa 100644 --- a/gramps2/src/FamilyView.py +++ b/gramps2/src/FamilyView.py @@ -854,7 +854,7 @@ class FamilyView: mdate) self.spouse_model.set(iter,0,v) else: - self.spouse_model.set(iter,0,"unknown\n") + self.spouse_model.set(iter,0,"%s\n" % _("")) if family in splist: self.display_marriage(family) diff --git a/gramps2/src/ImageSelect.py b/gramps2/src/ImageSelect.py index 646a90b14..bcfe83c21 100644 --- a/gramps2/src/ImageSelect.py +++ b/gramps2/src/ImageSelect.py @@ -285,7 +285,7 @@ class Gallery(ImageSelect): self.in_event = 1 if self.button and event.type == gtk.gdk.MOTION_NOTIFY : if widget.drag_check_threshold(self.remember_x,self.remember_y, - event.x,event.y): + int(event.x),int(event.y)): self.drag_item = widget.get_item_at(self.remember_x, self.remember_y) icon_index = self.get_index(widget,event.x,event.y)-1 diff --git a/gramps2/src/const.py.in b/gramps2/src/const.py.in index 016c68ec9..c4324696a 100644 --- a/gramps2/src/const.py.in +++ b/gramps2/src/const.py.in @@ -109,7 +109,7 @@ dnd_images = 1 #------------------------------------------------------------------------- progName = "GRAMPS" version = "@VERSIONSTRING@" -copyright = unicode("© 2001-2003 Donald N. Allingham","iso-8859-1") +copyright = unicode("© 2001-2004 Donald N. Allingham","iso-8859-1") comments = _("GRAMPS (Genealogical Research and Analysis " "Management Programming System) is a personal " "genealogy program.")