diff options
author | Christopher James Lahey <clahey@ximian.com> | 2001-10-04 04:52:55 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-10-04 04:52:55 +0800 |
commit | fd046121c7ca04a26321637bec344c470439d0f2 (patch) | |
tree | 8eed048fba61c2365fb5c27db9f5bfc0e605dd02 /addressbook/gui/widgets/e-minicard.c | |
parent | 2ddb68d1f71868d2c137a1b07ec79d695d3e6d48 (diff) | |
download | gsoc2013-evolution-fd046121c7ca04a26321637bec344c470439d0f2.tar gsoc2013-evolution-fd046121c7ca04a26321637bec344c470439d0f2.tar.gz gsoc2013-evolution-fd046121c7ca04a26321637bec344c470439d0f2.tar.bz2 gsoc2013-evolution-fd046121c7ca04a26321637bec344c470439d0f2.tar.lz gsoc2013-evolution-fd046121c7ca04a26321637bec344c470439d0f2.tar.xz gsoc2013-evolution-fd046121c7ca04a26321637bec344c470439d0f2.tar.zst gsoc2013-evolution-fd046121c7ca04a26321637bec344c470439d0f2.zip |
Fixed these to determine the fields to use properly.
2001-10-03 Christopher James Lahey <clahey@ximian.com>
* gui/widgets/e-addressbook-reflow-adapter.c (addressbook_height),
gui/widgets/e-minicard.c (remodel): Fixed these to determine the
fields to use properly.
svn path=/trunk/; revision=13386
Diffstat (limited to 'addressbook/gui/widgets/e-minicard.c')
-rw-r--r-- | addressbook/gui/widgets/e-minicard.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/addressbook/gui/widgets/e-minicard.c b/addressbook/gui/widgets/e-minicard.c index d6887fc202..fb06a126b1 100644 --- a/addressbook/gui/widgets/e-minicard.c +++ b/addressbook/gui/widgets/e-minicard.c @@ -780,12 +780,9 @@ 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 - 6 && count < 5; field++) { + for(field = E_CARD_SIMPLE_FIELD_FULL_NAME; field != E_CARD_SIMPLE_FIELD_LAST_SIMPLE_STRING && count < 5; field++) { EMinicardField *minicard_field = NULL; - if (field == E_CARD_SIMPLE_FIELD_FAMILY_NAME) - continue; - if (list) minicard_field = list->data; if (minicard_field && minicard_field->field == field) { |