aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/select-names
diff options
context:
space:
mode:
authorJon Trowbridge <trow@ximian.com>2001-12-04 09:17:13 +0800
committerJon Trowbridge <trow@src.gnome.org>2001-12-04 09:17:13 +0800
commit45170baee7e24ca6b3143290a52ea792bd31d195 (patch)
treef9eed337a0aac48fb9764583035766b89fc128ed /addressbook/gui/component/select-names
parent86755b7d11c4773744cf42ed75667c7cc6aff0c7 (diff)
downloadgsoc2013-evolution-45170baee7e24ca6b3143290a52ea792bd31d195.tar
gsoc2013-evolution-45170baee7e24ca6b3143290a52ea792bd31d195.tar.gz
gsoc2013-evolution-45170baee7e24ca6b3143290a52ea792bd31d195.tar.bz2
gsoc2013-evolution-45170baee7e24ca6b3143290a52ea792bd31d195.tar.lz
gsoc2013-evolution-45170baee7e24ca6b3143290a52ea792bd31d195.tar.xz
gsoc2013-evolution-45170baee7e24ca6b3143290a52ea792bd31d195.tar.zst
gsoc2013-evolution-45170baee7e24ca6b3143290a52ea792bd31d195.zip
Clean ESelectNamesModel on focus-out. (Half of a fix for 15656)
2001-12-03 Jon Trowbridge <trow@ximian.com> * gui/component/select-names/e-select-names-manager.c (focus_out_cb): Clean ESelectNamesModel on focus-out. (Half of a fix for 15656) * backend/ebook/e-destination.c (nonempty): Fix this function and make it utf8-safe. (The other half of the fix for 15656) svn path=/trunk/; revision=14855
Diffstat (limited to 'addressbook/gui/component/select-names')
-rw-r--r--addressbook/gui/component/select-names/e-select-names-manager.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/addressbook/gui/component/select-names/e-select-names-manager.c b/addressbook/gui/component/select-names/e-select-names-manager.c
index a4b61def7e..e2b0238123 100644
--- a/addressbook/gui/component/select-names/e-select-names-manager.c
+++ b/addressbook/gui/component/select-names/e-select-names-manager.c
@@ -446,6 +446,8 @@ focus_out_cb (GtkWidget *w, GdkEventFocus *ev, gpointer user_data)
ESelectNamesModel *model = E_SELECT_NAMES_MODEL (gtk_object_get_data (GTK_OBJECT (entry), "select_names_model"));
ESelectNamesManager *manager = E_SELECT_NAMES_MANAGER (gtk_object_get_data (GTK_OBJECT (entry), "select_names_manager"));
+ e_select_names_model_clean (model);
+
if (!e_entry_completion_popup_is_visible (entry))
e_select_names_model_cardify_all (model, manager->completion_book, 100);