aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend/ebook/test-card.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-04-17 05:06:02 +0800
committerChris Lahey <clahey@src.gnome.org>2000-04-17 05:06:02 +0800
commitfc360f0fdfb7536aaa2bb7e7de6b0b67202f8641 (patch)
treed5a80b4954007f152372e87de801e4f180e53573 /addressbook/backend/ebook/test-card.c
parent50c22a17f03ccdff5cd2363db96c7fd9f08abdb2 (diff)
downloadgsoc2013-evolution-fc360f0fdfb7536aaa2bb7e7de6b0b67202f8641.tar
gsoc2013-evolution-fc360f0fdfb7536aaa2bb7e7de6b0b67202f8641.tar.gz
gsoc2013-evolution-fc360f0fdfb7536aaa2bb7e7de6b0b67202f8641.tar.bz2
gsoc2013-evolution-fc360f0fdfb7536aaa2bb7e7de6b0b67202f8641.tar.lz
gsoc2013-evolution-fc360f0fdfb7536aaa2bb7e7de6b0b67202f8641.tar.xz
gsoc2013-evolution-fc360f0fdfb7536aaa2bb7e7de6b0b67202f8641.tar.zst
gsoc2013-evolution-fc360f0fdfb7536aaa2bb7e7de6b0b67202f8641.zip
Added orginizational unit, nickname, and internet free-busy 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/contact-editor/e-contact-editor.c: Added orginizational unit, nickname, and internet free-busy fields. * addressbook/contact-editor/contact-editor.glade: Renamed some incorrectly named fields. svn path=/trunk/; revision=2464
Diffstat (limited to 'addressbook/backend/ebook/test-card.c')
-rw-r--r--addressbook/backend/ebook/test-card.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/addressbook/backend/ebook/test-card.c b/addressbook/backend/ebook/test-card.c
index 598900c9e5..a60569548b 100644
--- a/addressbook/backend/ebook/test-card.c
+++ b/addressbook/backend/ebook/test-card.c
@@ -67,8 +67,11 @@ main (int argc, char **argv)
/* Fields */
char *fname;
char *org;
+ char *org_unit;
char *title;
char *role;
+ char *nickname;
+ char *fburl;
ECardName *name;
ECardList *address;
ECardList *phone;
@@ -102,8 +105,11 @@ main (int argc, char **argv)
"phone", &phone,
"email", &email,
"org", &org,
+ "org_unit", &org_unit,
"title", &title,
"role", &role,
+ "nickname", &nickname,
+ "fburl", &fburl,
"birth_date", &bday,
NULL);
if ( fname ) {
@@ -126,12 +132,21 @@ main (int argc, char **argv)
if ( org ) {
printf("Company : %s\n", org);
}
+ if ( org_unit ) {
+ printf("Department : %s\n", org_unit);
+ }
if ( title ) {
printf("Title : %s\n", title);
}
if ( role ) {
printf("Profession : %s\n", role);
}
+ if ( nickname ) {
+ printf("Nickname : %s\n", nickname);
+ }
+ if ( fburl ) {
+ printf("Free Busy URL : %s\n", fburl);
+ }
if ( bday ) {
printf("BDay : %4d-%02d-%02d\n", bday->year, bday->month, bday->day);
}