From 45170baee7e24ca6b3143290a52ea792bd31d195 Mon Sep 17 00:00:00 2001 From: Jon Trowbridge Date: Tue, 4 Dec 2001 01:17:13 +0000 Subject: Clean ESelectNamesModel on focus-out. (Half of a fix for 15656) 2001-12-03 Jon Trowbridge * 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 --- addressbook/gui/component/select-names/e-select-names-manager.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'addressbook/gui/component/select-names') 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); -- cgit v1.2.3