From 7235d85b7e54f8f244a2487618b083414039f522 Mon Sep 17 00:00:00 2001 From: Sivaiah Nallagatla Date: Sun, 6 Feb 2005 18:34:35 +0000 Subject: changed the loop termination check to E_CONACT_LAST_SIMPLE_STRING -1 so 2005-01-06 Sivaiah Nallagatla * 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 svn path=/trunk/; revision=28725 --- addressbook/ChangeLog | 7 +++++++ addressbook/gui/widgets/e-minicard.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) 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 + + * 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 * 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) -- cgit v1.2.3