diff options
author | Srinivasa Ragavan <sragavan@src.gnome.org> | 2007-05-14 11:26:41 +0800 |
---|---|---|
committer | Srinivasa Ragavan <sragavan@src.gnome.org> | 2007-05-14 11:26:41 +0800 |
commit | 6d8bd4aadd88a15550a2f288054f84569fdb4e3f (patch) | |
tree | 2b6f5bc15f16db192d2d9cff2dc4b34fbf2f1292 /addressbook/gui | |
parent | ffb81288b230d3e6ffdc06353623f5fbbb6c803f (diff) | |
download | gsoc2013-evolution-6d8bd4aadd88a15550a2f288054f84569fdb4e3f.tar.gz gsoc2013-evolution-6d8bd4aadd88a15550a2f288054f84569fdb4e3f.tar.zst gsoc2013-evolution-6d8bd4aadd88a15550a2f288054f84569fdb4e3f.zip |
Fix for bug #404239 #358250
svn path=/trunk/; revision=33524
Diffstat (limited to 'addressbook/gui')
-rw-r--r-- | addressbook/gui/widgets/e-addressbook-view.etspec | 2 | ||||
-rw-r--r-- | addressbook/gui/widgets/e-minicard.c | 3 | ||||
-rw-r--r-- | addressbook/gui/widgets/eab-contact-display.c | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/addressbook/gui/widgets/e-addressbook-view.etspec b/addressbook/gui/widgets/e-addressbook-view.etspec index c982fdcc29..1f15103664 100644 --- a/addressbook/gui/widgets/e-addressbook-view.etspec +++ b/addressbook/gui/widgets/e-addressbook-view.etspec @@ -36,7 +36,7 @@ different and established translation for this in your language. --> <ETableColumn model_col="34" _title="TTYTDD" expansion="1.0" minimum_width="75" resizable="true" cell="string" compare="string"/> - <ETableColumn model_col="35" _title="Organization" expansion="1.0" minimum_width="75" resizable="true" cell="string" compare="stringcase"/> + <ETableColumn model_col="35" _title="Company" expansion="1.0" minimum_width="75" resizable="true" cell="string" compare="stringcase"/> <ETableColumn model_col="36" _title="Unit" expansion="1.0" minimum_width="75" resizable="true" cell="string" compare="string"/> <ETableColumn model_col="37" _title="Office" expansion="1.0" minimum_width="75" resizable="true" cell="string" compare="string"/> <ETableColumn model_col="38" _title="Title" expansion="1.0" minimum_width="75" resizable="true" cell="string" compare="string"/> diff --git a/addressbook/gui/widgets/e-minicard.c b/addressbook/gui/widgets/e-minicard.c index 0f8c8d7ad2..f7852ca86d 100644 --- a/addressbook/gui/widgets/e-minicard.c +++ b/addressbook/gui/widgets/e-minicard.c @@ -847,7 +847,7 @@ add_email_field (EMinicard *e_minicard, GList *email_list, gdouble left_width, i for (l=email_list, le=emails; l!=NULL && count < limit && le!=NULL; l = l->next, le=le->next) { - name = get_email_location ((EVCardAttribute *) l->data); + name = g_strdup_printf("%s:", get_email_location ((EVCardAttribute *) l->data)); string = e_text_to_html (le->data, 0); new_item = e_minicard_label_new(group); @@ -877,6 +877,7 @@ add_email_field (EMinicard *e_minicard, GList *email_list, gdouble left_width, i e_minicard->fields = g_list_append( e_minicard->fields, minicard_field); e_canvas_item_move_absolute(new_item, 2, e_minicard->height); count++; + g_free(name); g_free(string); } g_list_free (emails); diff --git a/addressbook/gui/widgets/eab-contact-display.c b/addressbook/gui/widgets/eab-contact-display.c index 26a5fc01e2..f5bc9a0f71 100644 --- a/addressbook/gui/widgets/eab-contact-display.c +++ b/addressbook/gui/widgets/eab-contact-display.c @@ -563,7 +563,7 @@ render_contact (GtkHTMLStream *html_stream, EContact *contact) g_string_assign (accum, ""); - accum_attribute (accum, contact, _("Organization"), E_CONTACT_ORG, NULL, 0); + accum_attribute (accum, contact, _("Company"), E_CONTACT_ORG, NULL, 0); accum_attribute (accum, contact, _("Department"), E_CONTACT_ORG_UNIT, NULL, 0); accum_attribute (accum, contact, _("Profession"), E_CONTACT_ROLE, NULL, 0); accum_attribute (accum, contact, _("Position"), E_CONTACT_TITLE, NULL, 0); |