Blob Blame History Raw
diff -up evolution-3.8.5/addressbook/gui/widgets/eab-contact-formatter.c.contacts-other-address evolution-3.8.5/addressbook/gui/widgets/eab-contact-formatter.c
--- evolution-3.8.5/addressbook/gui/widgets/eab-contact-formatter.c.contacts-other-address	2013-07-23 14:52:21.000000000 +0200
+++ evolution-3.8.5/addressbook/gui/widgets/eab-contact-formatter.c	2014-01-13 17:40:11.230479800 +0100
@@ -700,6 +700,29 @@ render_personal_column (EABContactFormat
 }
 
 static void
+render_other_column (EABContactFormatter *formatter,
+		     EContact *contact,
+		     GString *buffer)
+{
+	GString *accum = g_string_new ("");
+
+	accum_address (accum, contact, _("Address"), E_CONTACT_ADDRESS_OTHER, E_CONTACT_ADDRESS_LABEL_OTHER);
+	if (formatter->priv->render_maps)
+		accum_address_map (accum, contact, E_CONTACT_ADDRESS_OTHER);
+
+	if (accum->len > 0) {
+		g_string_append_printf (
+			buffer,
+			"<div class=\"column\" id=\"contact-other\">"
+			"<h3>%s</h3>"
+			"<table border=\"0\" cellspacing=\"5\">%s</table>"
+			"</div>", _("Other"), accum->str);
+	}
+
+	g_string_free (accum, TRUE);
+}
+
+static void
 render_footer (EABContactFormatter *formatter,
                EContact *contact,
                GString *buffer)
@@ -736,6 +759,7 @@ render_contact (EABContactFormatter *for
 	render_contact_column (formatter, contact, buffer);
 	render_work_column (formatter, contact, buffer);
 	render_personal_column (formatter, contact, buffer);
+	render_other_column (formatter, contact, buffer);
 	g_string_append (buffer, "</div>");
 
 	render_footer (formatter, contact, buffer);