diff options
author | Christopher James Lahey <clahey@ximian.com> | 2001-05-12 03:20:27 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-05-12 03:20:27 +0800 |
commit | a8b6f2be954e076d4c2cc90b8c39a1823df257e1 (patch) | |
tree | e1189c6379a6bee9ba6bde4fbd167c937883db18 /addressbook/gui/widgets | |
parent | 34b0dc654443bdbecb54d83c05d0aea276bd34c4 (diff) | |
download | gsoc2013-evolution-a8b6f2be954e076d4c2cc90b8c39a1823df257e1.tar.gz gsoc2013-evolution-a8b6f2be954e076d4c2cc90b8c39a1823df257e1.tar.zst gsoc2013-evolution-a8b6f2be954e076d4c2cc90b8c39a1823df257e1.zip |
Reordered the includes here. (string_to_dbt): The sleepycat libdb
2001-05-11 Christopher James Lahey <clahey@ximian.com>
* backend/pas/pas-backend-file.c: Reordered the includes here.
(string_to_dbt): The sleepycat libdb documentation suggests
memseting the DBT to 0 so we do that here.
* gui/widgets/e-minicard-view-model.c (addressbook_height): Skip
the E_CARD_SIMPLE_FIELD_FAMILY_NAME field.
* gui/widgets/e-minicard.c (remodel): Skip the
E_CARD_SIMPLE_FIELD_FAMILY_NAME field.
svn path=/trunk/; revision=9764
Diffstat (limited to 'addressbook/gui/widgets')
-rw-r--r-- | addressbook/gui/widgets/e-minicard-view-model.c | 2 | ||||
-rw-r--r-- | addressbook/gui/widgets/e-minicard.c | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/addressbook/gui/widgets/e-minicard-view-model.c b/addressbook/gui/widgets/e-minicard-view-model.c index d2e60d569e..ab0999518b 100644 --- a/addressbook/gui/widgets/e-minicard-view-model.c +++ b/addressbook/gui/widgets/e-minicard-view-model.c @@ -311,6 +311,8 @@ addressbook_height (EReflowModel *erm, int i, GnomeCanvasGroup *parent) g_free(string); for(field = E_CARD_SIMPLE_FIELD_FULL_NAME; field != E_CARD_SIMPLE_FIELD_LAST - 2 && count < 5; field++) { + if (field == E_CARD_SIMPLE_FIELD_FAMILY_NAME) + field ++; string = e_card_simple_get(simple, field); if (string && *string) { int this_height; diff --git a/addressbook/gui/widgets/e-minicard.c b/addressbook/gui/widgets/e-minicard.c index 0db903a790..98a12f4983 100644 --- a/addressbook/gui/widgets/e-minicard.c +++ b/addressbook/gui/widgets/e-minicard.c @@ -759,6 +759,9 @@ remodel( EMinicard *e_minicard ) for(field = E_CARD_SIMPLE_FIELD_FULL_NAME; field != E_CARD_SIMPLE_FIELD_LAST - 2 && count < 5; field++) { EMinicardField *minicard_field = NULL; + if (field == E_CARD_SIMPLE_FIELD_FAMILY_NAME) + field ++; + if (list) minicard_field = list->data; if (minicard_field && minicard_field->field == field) { |