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/backend/ebook/test-card.c | |
parent | 9aa111c5c129c90ede69ae644280004529f63839 (diff) | |
download | gsoc2013-evolution-23c29cbcf654883e1243f51adb4bfe3556477cff.tar gsoc2013-evolution-23c29cbcf654883e1243f51adb4bfe3556477cff.tar.gz gsoc2013-evolution-23c29cbcf654883e1243f51adb4bfe3556477cff.tar.bz2 gsoc2013-evolution-23c29cbcf654883e1243f51adb4bfe3556477cff.tar.lz gsoc2013-evolution-23c29cbcf654883e1243f51adb4bfe3556477cff.tar.xz 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/backend/ebook/test-card.c')
-rw-r--r-- | addressbook/backend/ebook/test-card.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/addressbook/backend/ebook/test-card.c b/addressbook/backend/ebook/test-card.c index e31495ec3b..598900c9e5 100644 --- a/addressbook/backend/ebook/test-card.c +++ b/addressbook/backend/ebook/test-card.c @@ -8,8 +8,12 @@ " \ "N:Friedman;Nat;D;Mr. " \ +"ORG:Helix Code, Inc. +" \ "TITLE:Head Geek " \ +"ROLE:Programmer/Executive +" \ "BDAY:1977-08-06 " \ "TEL;WORK:617 679 1984 @@ -62,7 +66,9 @@ main (int argc, char **argv) /* Fields */ char *fname; + char *org; char *title; + char *role; ECardName *name; ECardList *address; ECardList *phone; @@ -95,7 +101,9 @@ main (int argc, char **argv) "address", &address, "phone", &phone, "email", &email, + "org", &org, "title", &title, + "role", &role, "birth_date", &bday, NULL); if ( fname ) { @@ -115,9 +123,15 @@ main (int argc, char **argv) if ( name->suffix ) printf(" suffix : %s\n", name->suffix); } + if ( org ) { + printf("Company : %s\n", org); + } if ( title ) { printf("Title : %s\n", title); } + if ( role ) { + printf("Profession : %s\n", role); + } if ( bday ) { printf("BDay : %4d-%02d-%02d\n", bday->year, bday->month, bday->day); } |