Correct the height calculation here to not include the
2001-05-25 Christopher James Lahey <clahey@ximian.com> * gui/widgets/e-addressbook-reflow-adapter.c (addressbook_height): Correct the height calculation here to not include the E_CARD_SIMPLE_FIELD_FAMILY_NAME since it won't be displayed. * gui/widgets/e-minicard.c (remodel): Changed this to continue to be more consistent and simpler. svn path=/trunk/; revision=9992
This commit is contained in:
committed by
Chris Lahey
parent
870ddbe4d2
commit
03df6fccde
@ -1,3 +1,12 @@
|
||||
2001-05-25 Christopher James Lahey <clahey@ximian.com>
|
||||
|
||||
* gui/widgets/e-addressbook-reflow-adapter.c (addressbook_height):
|
||||
Correct the height calculation here to not include the
|
||||
E_CARD_SIMPLE_FIELD_FAMILY_NAME since it won't be displayed.
|
||||
|
||||
* gui/widgets/e-minicard.c (remodel): Changed this to continue to
|
||||
be more consistent and simpler.
|
||||
|
||||
2001-05-23 Chris Toshok <toshok@ximian.com>
|
||||
|
||||
* backend/pas/pas-backend-ldap.c (view_destroy): fix strings such
|
||||
|
||||
@ -284,6 +284,10 @@ 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)
|
||||
continue;
|
||||
|
||||
string = e_card_simple_get(simple, field);
|
||||
if (string && *string) {
|
||||
int this_height;
|
||||
|
||||
@ -760,7 +760,7 @@ remodel( EMinicard *e_minicard )
|
||||
EMinicardField *minicard_field = NULL;
|
||||
|
||||
if (field == E_CARD_SIMPLE_FIELD_FAMILY_NAME)
|
||||
field ++;
|
||||
continue;
|
||||
|
||||
if (list)
|
||||
minicard_field = list->data;
|
||||
|
||||
Reference in New Issue
Block a user