* 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
This commit is contained in:
Don Allingham 2004-02-04 04:42:06 +00:00
parent a0c8ec41d0
commit ad2c2d2bff
3 changed files with 3 additions and 3 deletions

View File

@ -854,7 +854,7 @@ class FamilyView:
mdate) mdate)
self.spouse_model.set(iter,0,v) self.spouse_model.set(iter,0,v)
else: else:
self.spouse_model.set(iter,0,"unknown\n") self.spouse_model.set(iter,0,"%s\n" % _("<double click to add spouse>"))
if family in splist: if family in splist:
self.display_marriage(family) self.display_marriage(family)

View File

@ -285,7 +285,7 @@ class Gallery(ImageSelect):
self.in_event = 1 self.in_event = 1
if self.button and event.type == gtk.gdk.MOTION_NOTIFY : if self.button and event.type == gtk.gdk.MOTION_NOTIFY :
if widget.drag_check_threshold(self.remember_x,self.remember_y, 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.drag_item = widget.get_item_at(self.remember_x,
self.remember_y) self.remember_y)
icon_index = self.get_index(widget,event.x,event.y)-1 icon_index = self.get_index(widget,event.x,event.y)-1

View File

@ -109,7 +109,7 @@ dnd_images = 1
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
progName = "GRAMPS" progName = "GRAMPS"
version = "@VERSIONSTRING@" 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 " comments = _("GRAMPS (Genealogical Research and Analysis "
"Management Programming System) is a personal " "Management Programming System) is a personal "
"genealogy program.") "genealogy program.")