aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-05-26 02:56:25 +0800
committerChris Lahey <clahey@src.gnome.org>2001-05-26 02:56:25 +0800
commit03df6fccdefe8b11215183bf4dcfef71eef2290c (patch)
treec0e67e591a087e22dd3103640de37d4c1006ee6f /addressbook
parent870ddbe4d271bdd0f7b3b33192c66f84c6c41e91 (diff)
downloadgsoc2013-evolution-03df6fccdefe8b11215183bf4dcfef71eef2290c.tar
gsoc2013-evolution-03df6fccdefe8b11215183bf4dcfef71eef2290c.tar.gz
gsoc2013-evolution-03df6fccdefe8b11215183bf4dcfef71eef2290c.tar.bz2
gsoc2013-evolution-03df6fccdefe8b11215183bf4dcfef71eef2290c.tar.lz
gsoc2013-evolution-03df6fccdefe8b11215183bf4dcfef71eef2290c.tar.xz
gsoc2013-evolution-03df6fccdefe8b11215183bf4dcfef71eef2290c.tar.zst
gsoc2013-evolution-03df6fccdefe8b11215183bf4dcfef71eef2290c.zip
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
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog9
-rw-r--r--addressbook/gui/widgets/e-addressbook-reflow-adapter.c4
-rw-r--r--addressbook/gui/widgets/e-minicard.c2
3 files changed, 14 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index f9958c8aea..462db8c4aa 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -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
diff --git a/addressbook/gui/widgets/e-addressbook-reflow-adapter.c b/addressbook/gui/widgets/e-addressbook-reflow-adapter.c
index f4e6b4cbfc..dc767c142d 100644
--- a/addressbook/gui/widgets/e-addressbook-reflow-adapter.c
+++ b/addressbook/gui/widgets/e-addressbook-reflow-adapter.c
@@ -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;
diff --git a/addressbook/gui/widgets/e-minicard.c b/addressbook/gui/widgets/e-minicard.c
index 98a12f4983..167e977d12 100644
--- a/addressbook/gui/widgets/e-minicard.c
+++ b/addressbook/gui/widgets/e-minicard.c
@@ -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;