diff options
-rw-r--r-- | addressbook/ChangeLog | 7 | ||||
-rw-r--r-- | addressbook/gui/widgets/e-minicard.c | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 7af1feb069..00f0c8f990 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,10 @@ +2005-01-06 Sivaiah Nallagatla <snallagatla@novell.com> + + * e-minicard.c (remodel) : changed the loop + termination check to E_CONACT_LAST_SIMPLE_STRING -1 + so that we will avoid displaying revision field + value in the minicard + 2005-01-04 vivek jain <jvivek@novell.com> * gui/component/addressbook.c (load_source_auth_cb): diff --git a/addressbook/gui/widgets/e-minicard.c b/addressbook/gui/widgets/e-minicard.c index 0abdff7fce..2e0579c24d 100644 --- a/addressbook/gui/widgets/e-minicard.c +++ b/addressbook/gui/widgets/e-minicard.c @@ -840,7 +840,7 @@ remodel( EMinicard *e_minicard ) list = e_minicard->fields; e_minicard->fields = NULL; - for(field = E_CONTACT_FULL_NAME; field != E_CONTACT_LAST_SIMPLE_STRING && count < 5; field++) { + for(field = E_CONTACT_FULL_NAME; field != (E_CONTACT_LAST_SIMPLE_STRING -1) && count < 5; field++) { EMinicardField *minicard_field = NULL; if (field == E_CONTACT_FAMILY_NAME || field == E_CONTACT_GIVEN_NAME) |