aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2001-09-23 05:50:02 +0800
committerChris Toshok <toshok@src.gnome.org>2001-09-23 05:50:02 +0800
commit3b42fe201d6920329a135fc276385a60c2a0d8c7 (patch)
treeff41d821a1d572f9ba8a12929d677d9f3565b7fa
parent211470db51f8ffa20e1ca54548e94de949e90acb (diff)
downloadgsoc2013-evolution-3b42fe201d6920329a135fc276385a60c2a0d8c7.tar.gz
gsoc2013-evolution-3b42fe201d6920329a135fc276385a60c2a0d8c7.tar.zst
gsoc2013-evolution-3b42fe201d6920329a135fc276385a60c2a0d8c7.zip
when creating the cards, don't display any of the subname fields (surname,
2001-09-22 Chris Toshok <toshok@ximian.com> * gui/widgets/e-minicard.c (remodel): when creating the cards, don't display any of the subname fields (surname, given, middle, suffix, etc.) svn path=/trunk/; revision=13083
-rw-r--r--addressbook/ChangeLog6
-rw-r--r--addressbook/gui/widgets/e-minicard.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index ab3f9d7ecd..86e088f646 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,5 +1,11 @@
2001-09-22 Chris Toshok <toshok@ximian.com>
+ * gui/widgets/e-minicard.c (remodel): when creating the cards,
+ don't display any of the subname fields (surname, given, middle,
+ suffix, etc.)
+
+2001-09-22 Chris Toshok <toshok@ximian.com>
+
* backend/ebook/e-card-simple.c
(e_card_simple_get): add getters for the additional name fields.
(field_data): move FAMILY_NAME to the end of the list, and add
diff --git a/addressbook/gui/widgets/e-minicard.c b/addressbook/gui/widgets/e-minicard.c
index 6f6df9b27c..d6887fc202 100644
--- a/addressbook/gui/widgets/e-minicard.c
+++ b/addressbook/gui/widgets/e-minicard.c
@@ -780,7 +780,7 @@ remodel( EMinicard *e_minicard )
list = e_minicard->fields;
e_minicard->fields = NULL;
- for(field = E_CARD_SIMPLE_FIELD_FULL_NAME; field != E_CARD_SIMPLE_FIELD_LAST - 2 && count < 5; field++) {
+ for(field = E_CARD_SIMPLE_FIELD_FULL_NAME; field != E_CARD_SIMPLE_FIELD_LAST - 6 && count < 5; field++) {
EMinicardField *minicard_field = NULL;
if (field == E_CARD_SIMPLE_FIELD_FAMILY_NAME)