aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorWang Xin <jedy.wang@sun.com>2007-06-12 14:53:45 +0800
committerJedy Jedy Wang <jedywang@src.gnome.org>2007-06-12 14:53:45 +0800
commitfd3c9551a84a3a9d74dc00c0e04e7ffcc498f8a8 (patch)
treee0c4ab7d567e157bbba9f393c1a1960fe1fb0cff /addressbook
parent0322c4649a989ca16a73e52042b14f8b5def67f0 (diff)
downloadgsoc2013-evolution-fd3c9551a84a3a9d74dc00c0e04e7ffcc498f8a8.tar
gsoc2013-evolution-fd3c9551a84a3a9d74dc00c0e04e7ffcc498f8a8.tar.gz
gsoc2013-evolution-fd3c9551a84a3a9d74dc00c0e04e7ffcc498f8a8.tar.bz2
gsoc2013-evolution-fd3c9551a84a3a9d74dc00c0e04e7ffcc498f8a8.tar.lz
gsoc2013-evolution-fd3c9551a84a3a9d74dc00c0e04e7ffcc498f8a8.tar.xz
gsoc2013-evolution-fd3c9551a84a3a9d74dc00c0e04e7ffcc498f8a8.tar.zst
gsoc2013-evolution-fd3c9551a84a3a9d74dc00c0e04e7ffcc498f8a8.zip
Fixes #444248.
2007-06-12 Wang Xin <jedy.wang@sun.com> Fixes #444248. * addressbook/gui/widgets/e-minicard.c svn path=/trunk/; revision=33667
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog6
-rw-r--r--addressbook/gui/widgets/e-minicard.c7
2 files changed, 12 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 04778a1829..e741f6bc5b 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,9 @@
+2007-06-12 Wang Xin <jedy.wang@sun.com>
+
+ Fixes #444248.
+
+ * addressbook/gui/widgets/e-minicard.c
+
2007-06-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* Makefile.am:
diff --git a/addressbook/gui/widgets/e-minicard.c b/addressbook/gui/widgets/e-minicard.c
index 58897f3932..986dabc992 100644
--- a/addressbook/gui/widgets/e-minicard.c
+++ b/addressbook/gui/widgets/e-minicard.c
@@ -846,8 +846,13 @@ add_email_field (EMinicard *e_minicard, GList *email_list, gdouble left_width, i
group = GNOME_CANVAS_GROUP( e_minicard );
for (l=email_list, le=emails; l!=NULL && count < limit && le!=NULL; l = l->next, le=le->next) {
+ gchar *tmp;
- name = g_strdup_printf("%s:", get_email_location ((EVCardAttribute *) l->data));
+ tmp = get_email_location ((EVCardAttribute *) l->data);
+ if (tmp)
+ name = g_strdup_printf("%s:", tmp);
+ else
+ name = g_strdup_printf("");
string = e_text_to_html (le->data, 0);
new_item = e_minicard_label_new(group);