diff --git a/gramps/src/EditPerson.glade b/gramps/src/EditPerson.glade index 35dd145e0..2b811855d 100644 --- a/gramps/src/EditPerson.glade +++ b/gramps/src/EditPerson.glade @@ -1117,7 +1117,7 @@ GtkLabel label121 - + GTK_JUSTIFY_CENTER False 1 @@ -1143,7 +1143,7 @@ GtkLabel label120 - + GTK_JUSTIFY_CENTER False 1 @@ -1169,7 +1169,7 @@ GtkLabel label129 - + GTK_JUSTIFY_CENTER False 1 @@ -1195,7 +1195,7 @@ GtkLabel alt_given - + GTK_JUSTIFY_CENTER False 0 @@ -1221,7 +1221,7 @@ GtkLabel alt_last - + GTK_JUSTIFY_CENTER False 0 @@ -1247,7 +1247,7 @@ GtkLabel alt_suffix - + GTK_JUSTIFY_CENTER False 0 @@ -1273,7 +1273,7 @@ GtkLabel label168 - + GTK_JUSTIFY_CENTER False 1 @@ -1299,7 +1299,7 @@ GtkLabel name_details - + GTK_JUSTIFY_CENTER False 0 @@ -1497,7 +1497,7 @@ GtkLabel label103 - + GTK_JUSTIFY_CENTER False 1 @@ -1523,7 +1523,7 @@ GtkLabel label106 - + GTK_JUSTIFY_CENTER False 1 @@ -1549,7 +1549,7 @@ GtkLabel label105 - + GTK_JUSTIFY_CENTER False 1 @@ -1575,7 +1575,7 @@ GtkLabel eventDate - + GTK_JUSTIFY_CENTER False 0 @@ -1601,7 +1601,7 @@ GtkLabel eventPlace - + GTK_JUSTIFY_CENTER False 0 @@ -1627,7 +1627,7 @@ GtkLabel eventDescription - + GTK_JUSTIFY_CENTER False 0 @@ -1653,7 +1653,7 @@ GtkLabel label164 - + GTK_JUSTIFY_CENTER False 1 @@ -1679,7 +1679,7 @@ GtkLabel event_details - + GTK_JUSTIFY_CENTER False 0 @@ -1908,7 +1908,7 @@ GtkLabel label196 - + GTK_JUSTIFY_CENTER False 1 @@ -1934,7 +1934,7 @@ GtkLabel attr_value - + GTK_JUSTIFY_CENTER False 0 @@ -1960,7 +1960,7 @@ GtkLabel label201 - + GTK_JUSTIFY_CENTER False 1 @@ -1986,7 +1986,7 @@ GtkLabel attr_details - + GTK_JUSTIFY_LEFT False 0 @@ -2190,7 +2190,7 @@ GtkLabel label142 - + GTK_JUSTIFY_CENTER False 1 @@ -2216,7 +2216,7 @@ GtkLabel label143 - + GTK_JUSTIFY_CENTER False 1 @@ -2242,7 +2242,7 @@ GtkLabel label141 - + GTK_JUSTIFY_CENTER False 1 @@ -2268,7 +2268,7 @@ GtkLabel label140 - + GTK_JUSTIFY_CENTER False 1 @@ -2294,7 +2294,7 @@ GtkLabel label148 - + GTK_JUSTIFY_CENTER False 1 @@ -2320,7 +2320,7 @@ GtkLabel label149 - + GTK_JUSTIFY_CENTER False 1 @@ -2346,7 +2346,7 @@ GtkLabel street - + GTK_JUSTIFY_LEFT False 0 @@ -2372,7 +2372,7 @@ GtkLabel address_start - + GTK_JUSTIFY_LEFT False 0 @@ -2398,7 +2398,7 @@ GtkLabel city - + GTK_JUSTIFY_LEFT False 0 @@ -2424,7 +2424,7 @@ GtkLabel postal - + GTK_JUSTIFY_LEFT False 0 @@ -2450,7 +2450,7 @@ GtkLabel state - + GTK_JUSTIFY_LEFT False 0 @@ -2476,7 +2476,7 @@ GtkLabel label193 - + GTK_JUSTIFY_CENTER False 1 @@ -2502,7 +2502,7 @@ GtkLabel addr_details - + GTK_JUSTIFY_LEFT False 0 @@ -2528,7 +2528,7 @@ GtkLabel country - + GTK_JUSTIFY_LEFT False 0 @@ -2893,7 +2893,7 @@ GtkLabel label203 - + GTK_JUSTIFY_CENTER False 1 @@ -2919,7 +2919,7 @@ GtkLabel label204 - + GTK_JUSTIFY_CENTER False 1 @@ -2945,7 +2945,7 @@ GtkLabel url_des - + GTK_JUSTIFY_LEFT False 0 @@ -2991,7 +2991,7 @@ GtkLabel url_addr - + GTK_JUSTIFY_LEFT False 0 diff --git a/gramps/src/EditPerson.py b/gramps/src/EditPerson.py index d66d83045..3034268cd 100644 --- a/gramps/src/EditPerson.py +++ b/gramps/src/EditPerson.py @@ -193,7 +193,7 @@ class EditPerson: birth = person.getBirth() death = person.getDeath() - self.get_widget("gid").set_text(person.getId()) + self.get_widget("gid").set_text(": %s" % person.getId()) self.event_list.set_column_visibility(3,Config.show_detail) self.name_list.set_column_visibility(1,Config.show_detail) self.attr_list.set_column_visibility(2,Config.show_detail) @@ -209,7 +209,7 @@ class EditPerson: if attr.getType() == const.save_pattr(Config.attr_name): val = attr.getValue() break - self.get_widget("user_data").set_text(val) + self.get_widget("user_data").set_text(": %s" % val) else: self.get_widget("user_label").hide() @@ -516,10 +516,10 @@ def on_name_list_select_row(obj,row,b,c): name = obj.get_row_data(row) epo.name_frame.set_label(name.getName()) - epo.alt_given_field.set_text(name.getFirstName()) - epo.alt_last_field.set_text(name.getSurname()) - epo.alt_suffix_field.set_text(name.getSuffix()) - epo.name_details_field.set_text(get_detail_text(name)) + epo.alt_given_field.set_text(": %s" % name.getFirstName()) + epo.alt_last_field.set_text(": %s" % name.getSurname()) + epo.alt_suffix_field.set_text(": %s" % name.getSuffix()) + epo.name_details_field.set_text(": %s" % get_detail_text(name)) #------------------------------------------------------------------------- # @@ -534,8 +534,8 @@ def on_web_list_select_row(obj,row,b,c): epo = obj.get_data(EDITPERSON) url = obj.get_row_data(row) - epo.web_url.set_text(url.get_path()) - epo.web_description.set_text(url.get_description()) + epo.web_url.set_text(":%s " % url.get_path()) + epo.web_description.set_text(": %s" % url.get_description()) #------------------------------------------------------------------------- # @@ -551,8 +551,8 @@ def on_attr_list_select_row(obj,row,b,c): attr = obj.get_row_data(row) epo.attr_type.set_label(const.display_pattr(attr.getType())) - epo.attr_value.set_text(attr.getValue()) - epo.attr_details_field.set_text(get_detail_text(attr)) + epo.attr_value.set_text(": %s" % attr.getValue()) + epo.attr_details_field.set_text(": %s" % get_detail_text(attr)) #------------------------------------------------------------------------- # @@ -569,13 +569,13 @@ def on_address_list_select_row(obj,row,b,c): epo.address_label.set_label("%s %s %s" % \ (a.getCity(),a.getState(),a.getCountry())) - epo.address_start.set_text(a.getDate()) - epo.address_street.set_text(a.getStreet()) - epo.address_city.set_text(a.getCity()) - epo.address_state.set_text(a.getState()) - epo.address_country.set_text(a.getCountry()) - epo.address_postal.set_text(a.getPostal()) - epo.addr_details_field.set_text(get_detail_text(a)) + epo.address_start.set_text(": %s" % a.getDate()) + epo.address_street.set_text(": %s" % a.getStreet()) + epo.address_city.set_text(": %s" % a.getCity()) + epo.address_state.set_text(": %s" % a.getState()) + epo.address_country.set_text(": %s" % a.getCountry()) + epo.address_postal.set_text(": %s" % a.getPostal()) + epo.addr_details_field.set_text(": %s" % get_detail_text(a)) #------------------------------------------------------------------------- # @@ -806,11 +806,11 @@ def on_event_select_row(obj,row,b,c): event = obj.get_row_data(row) epo = obj.get_data(EDITPERSON) - epo.event_date_field.set_text(event.getDate()) - epo.event_place_field.set_text(event.getPlace()) - epo.event_name_field.set_label(const.display_pevent(event.getName())) - epo.event_descr_field.set_text(event.getDescription()) - epo.event_details_field.set_text(get_detail_text(event)) + epo.event_date_field.set_text(": %s" % event.getDate()) + epo.event_place_field.set_text(": %s" % event.getPlace()) + epo.event_name_field.set_label(": %s" % const.display_pevent(event.getName())) + epo.event_descr_field.set_text(": %s" % event.getDescription()) + epo.event_details_field.set_text(": %s" % get_detail_text(event)) #------------------------------------------------------------------------- #