diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-04-16 19:36:03 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-04-16 19:36:03 +0800 |
commit | 23c29cbcf654883e1243f51adb4bfe3556477cff (patch) | |
tree | 6f2435672bfe00d39a675e1bd02f72bd9c30be7c /addressbook/gui/widgets/e-minicard.c | |
parent | 9aa111c5c129c90ede69ae644280004529f63839 (diff) | |
download | gsoc2013-evolution-23c29cbcf654883e1243f51adb4bfe3556477cff.tar.gz gsoc2013-evolution-23c29cbcf654883e1243f51adb4bfe3556477cff.tar.zst gsoc2013-evolution-23c29cbcf654883e1243f51adb4bfe3556477cff.zip |
Added orginization and role fields.
2000-04-16 Christopher James Lahey <clahey@helixcode.com>
* addressbook/backend/ebook/e-card.c,
addressbook/backend/ebook/e-card.h,
addressbook/backend/ebook/test-card.c,
addressbook/backend/pas/pas-backend-file.c,
addressbook/gui/minicard/e-minicard.c: Added orginization and role
fields.
* addressbook/contact-editor/contact-editor.glade,
addressbook/contact-editor/e-contact-editor-strings.h: Renamed
some incorrectly named fields.
* addressbook/contact-editor/e-contact-editor.c: Added
orginization and role fields as well as hooking up the birth date
field.
* addressbook/gui/minicard/e-minicard-view.c: Added a missing include.
svn path=/trunk/; revision=2458
Diffstat (limited to 'addressbook/gui/widgets/e-minicard.c')
-rw-r--r-- | addressbook/gui/widgets/e-minicard.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/addressbook/gui/widgets/e-minicard.c b/addressbook/gui/widgets/e-minicard.c index 455b34c8b5..0b6cbd428a 100644 --- a/addressbook/gui/widgets/e-minicard.c +++ b/addressbook/gui/widgets/e-minicard.c @@ -448,7 +448,9 @@ remodel( EMinicard *e_minicard ) if (e_minicard->card) { char *fname; char *url; + char *org; char *title; + char *role; ECardList *address_list; ECardList *phone_list; ECardList *email_list; @@ -469,7 +471,9 @@ remodel( EMinicard *e_minicard ) "phone", &phone_list, "email", &email_list, "url", &url, + "org", &org, "title", &title, + "role", &role, NULL); if (fname) { @@ -484,9 +488,15 @@ remodel( EMinicard *e_minicard ) "text", "", NULL); + if (org) + add_field(e_minicard, "Company:", org); + if (title) add_field(e_minicard, "Title:", title); + if (role) + add_field(e_minicard, "Profession:", role); + if (address_list) { for (iterator = e_card_list_get_iterator(address_list); e_card_iterator_is_valid(iterator); e_card_iterator_next(iterator)) { const ECardDeliveryAddress *address = e_card_iterator_get(iterator); |