aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDevashish Sharma <dsharma@src.gnome.org>2006-03-06 18:59:03 +0800
committerDevashish Sharma <dsharma@src.gnome.org>2006-03-06 18:59:03 +0800
commit3e791ca690cd1f0c75a918715ecc196b665e25ea (patch)
tree8cd81f8a40936017114f11dc010b48024e487a4b
parent53011db8cc0a944eac01f50c7aadb28d89d69a42 (diff)
downloadgsoc2013-evolution-3e791ca690cd1f0c75a918715ecc196b665e25ea.tar
gsoc2013-evolution-3e791ca690cd1f0c75a918715ecc196b665e25ea.tar.gz
gsoc2013-evolution-3e791ca690cd1f0c75a918715ecc196b665e25ea.tar.bz2
gsoc2013-evolution-3e791ca690cd1f0c75a918715ecc196b665e25ea.tar.lz
gsoc2013-evolution-3e791ca690cd1f0c75a918715ecc196b665e25ea.tar.xz
gsoc2013-evolution-3e791ca690cd1f0c75a918715ecc196b665e25ea.tar.zst
gsoc2013-evolution-3e791ca690cd1f0c75a918715ecc196b665e25ea.zip
Fix for Bug 332915.
svn path=/trunk/; revision=31666
-rw-r--r--addressbook/ChangeLog5
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 406c09fac7..02e19a7204 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,5 +1,10 @@
2006-03-06 Devashish Sharma <sdevashish@novell.com>
+ * gui/contact-editor/e-contact-editor.c (fill_in_address_textview):
+ Fix for Bug 332915.
+
+2006-03-06 Devashish Sharma <sdevashish@novell.com>
+
* importers/evolution-ldif-importer.c (ldif_import):
* importers/evolution-csv-importers.c (csv_import) :
* importers/evolution-vcard-importer.c (vcard_import) :
diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c
index 311370087c..5bd9d1e09f 100644
--- a/addressbook/gui/contact-editor/e-contact-editor.c
+++ b/addressbook/gui/contact-editor/e-contact-editor.c
@@ -1749,7 +1749,7 @@ fill_in_address_textview (EContactEditor *editor, gint record, EContactAddress *
gtk_text_buffer_set_text (text_buffer, address->street ? address->street : "", -1);
gtk_text_buffer_get_end_iter (text_buffer, &iter_end);
- if (address->ext) {
+ if (address->ext && *address->ext) {
gtk_text_buffer_insert (text_buffer, &iter_end, "\n", -1);
gtk_text_buffer_insert (text_buffer, &iter_end, address->ext, -1);
} else {