aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/select-names/e-select-names.c
diff options
context:
space:
mode:
authorJon Trowbridge <trow@ximian.com>2001-03-31 14:52:11 +0800
committerJon Trowbridge <trow@src.gnome.org>2001-03-31 14:52:11 +0800
commite51bb13fc41584414bdb78cf2ea3d1c86d01133f (patch)
treed56c68435010e185a40ba7a45e8b21901917823b /addressbook/gui/component/select-names/e-select-names.c
parent0cdb4fef03126fa4220ff00ab4a85be48c594281 (diff)
downloadgsoc2013-evolution-e51bb13fc41584414bdb78cf2ea3d1c86d01133f.tar
gsoc2013-evolution-e51bb13fc41584414bdb78cf2ea3d1c86d01133f.tar.gz
gsoc2013-evolution-e51bb13fc41584414bdb78cf2ea3d1c86d01133f.tar.bz2
gsoc2013-evolution-e51bb13fc41584414bdb78cf2ea3d1c86d01133f.tar.lz
gsoc2013-evolution-e51bb13fc41584414bdb78cf2ea3d1c86d01133f.tar.xz
gsoc2013-evolution-e51bb13fc41584414bdb78cf2ea3d1c86d01133f.tar.zst
gsoc2013-evolution-e51bb13fc41584414bdb78cf2ea3d1c86d01133f.zip
Call e_select_names_model_clean after adding address. This should deal
2001-03-31 Jon Trowbridge <trow@ximian.com> * gui/component/select-names/e-select-names.c (real_add_address_cb): Call e_select_names_model_clean after adding address. This should deal with the bug reports related to stray commas. * gui/component/select-names/e-select-names-model.c (e_select_names_model_clean): Added. Remove all empty destinations. * backend/ebook/e-destination.c (e_destination_is_empty): Added. Check if an EDestination is in essentially a null state. svn path=/trunk/; revision=9067
Diffstat (limited to 'addressbook/gui/component/select-names/e-select-names.c')
-rw-r--r--addressbook/gui/component/select-names/e-select-names.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/addressbook/gui/component/select-names/e-select-names.c b/addressbook/gui/component/select-names/e-select-names.c
index cbe9624be7..30dc482e85 100644
--- a/addressbook/gui/component/select-names/e-select-names.c
+++ b/addressbook/gui/component/select-names/e-select-names.c
@@ -149,6 +149,7 @@ real_add_address_cb (int model_row,
e_select_names_model_insert (child->source,
e_select_names_model_count (child->source),
dest);
+ e_select_names_model_clean (child->source);
gtk_object_unref(GTK_OBJECT(card));
}