|
|
79117e |
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
|
|
|
79117e |
--- evolution-3.8.5/addressbook/gui/widgets/eab-contact-formatter.c.contacts-other-address 2013-07-23 14:52:21.000000000 +0200
|
|
|
79117e |
+++ evolution-3.8.5/addressbook/gui/widgets/eab-contact-formatter.c 2014-01-13 17:40:11.230479800 +0100
|
|
|
79117e |
@@ -700,6 +700,29 @@ render_personal_column (EABContactFormat
|
|
|
79117e |
}
|
|
|
79117e |
|
|
|
79117e |
static void
|
|
|
79117e |
+render_other_column (EABContactFormatter *formatter,
|
|
|
79117e |
+ EContact *contact,
|
|
|
79117e |
+ GString *buffer)
|
|
|
79117e |
+{
|
|
|
79117e |
+ GString *accum = g_string_new ("");
|
|
|
79117e |
+
|
|
|
79117e |
+ accum_address (accum, contact, _("Address"), E_CONTACT_ADDRESS_OTHER, E_CONTACT_ADDRESS_LABEL_OTHER);
|
|
|
79117e |
+ if (formatter->priv->render_maps)
|
|
|
79117e |
+ accum_address_map (accum, contact, E_CONTACT_ADDRESS_OTHER);
|
|
|
79117e |
+
|
|
|
79117e |
+ if (accum->len > 0) {
|
|
|
79117e |
+ g_string_append_printf (
|
|
|
79117e |
+ buffer,
|
|
|
79117e |
+ ""
|
|
|
79117e |
+ "%s"
|
|
|
79117e |
+ "%s"
|
|
|
79117e |
+ "", _("Other"), accum->str);
|
|
|
79117e |
+ }
|
|
|
79117e |
+
|
|
|
79117e |
+ g_string_free (accum, TRUE);
|
|
|
79117e |
+}
|
|
|
79117e |
+
|
|
|
79117e |
+static void
|
|
|
79117e |
render_footer (EABContactFormatter *formatter,
|
|
|
79117e |
EContact *contact,
|
|
|
79117e |
GString *buffer)
|
|
|
79117e |
@@ -736,6 +759,7 @@ render_contact (EABContactFormatter *for
|
|
|
79117e |
render_contact_column (formatter, contact, buffer);
|
|
|
79117e |
render_work_column (formatter, contact, buffer);
|
|
|
79117e |
render_personal_column (formatter, contact, buffer);
|
|
|
79117e |
+ render_other_column (formatter, contact, buffer);
|
|
|
79117e |
g_string_append (buffer, "");
|
|
|
79117e |
|
|
|
79117e |
render_footer (formatter, contact, buffer);
|