diff options
author | Wang Xin <jedy.wang@sun.com> | 2007-06-12 14:53:45 +0800 |
---|---|---|
committer | Jedy Jedy Wang <jedywang@src.gnome.org> | 2007-06-12 14:53:45 +0800 |
commit | fd3c9551a84a3a9d74dc00c0e04e7ffcc498f8a8 (patch) | |
tree | e0c4ab7d567e157bbba9f393c1a1960fe1fb0cff | |
parent | 0322c4649a989ca16a73e52042b14f8b5def67f0 (diff) | |
download | gsoc2013-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
-rw-r--r-- | addressbook/ChangeLog | 6 | ||||
-rw-r--r-- | addressbook/gui/widgets/e-minicard.c | 7 |
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); |