Fix street widget reference, fix Address Editor text string.

svn: r275
This commit is contained in:
Don Allingham 2001-08-02 03:38:26 +00:00
parent 4befed221f
commit e727d3f75e

View File

@ -1849,7 +1849,7 @@ class AddressEditor:
self.priv = self.top.get_widget("priv") self.priv = self.top.get_widget("priv")
name = parent.person.getPrimaryName().getName() name = parent.person.getPrimaryName().getName()
text = _("Address Name Editor for %s") % name text = _("Address Editor for %s") % name
self.top.get_widget("addrTitle").set_text(text) self.top.get_widget("addrTitle").set_text(text)
myMenu = GtkMenu() myMenu = GtkMenu()
@ -1864,7 +1864,7 @@ class AddressEditor:
self.conf_menu.set_menu(myMenu) self.conf_menu.set_menu(myMenu)
if addr != None: if addr != None:
self.given_field.set_text(addr.getFirstAddr()) self.street.set_text(addr.getFirstAddr())
self.suraddr_field.set_text(addr.getSuraddr()) self.suraddr_field.set_text(addr.getSuraddr())
self.suffix_field.set_text(addr.getSuffix()) self.suffix_field.set_text(addr.getSuffix())
srcref_base = self.addr.getSourceRef().getBase() srcref_base = self.addr.getSourceRef().getBase()