aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/select-names/e-select-names.c
diff options
context:
space:
mode:
authorJon Trowbridge <trow@ximian.com>2001-09-15 16:58:02 +0800
committerJon Trowbridge <trow@src.gnome.org>2001-09-15 16:58:02 +0800
commit63a62abfad0269525b53ff4248547edf4d6500b9 (patch)
treeede3c7f7261eb5643833b335a113f5aef2ff9aac /addressbook/gui/component/select-names/e-select-names.c
parentc2a0bf66ba4970b4a5afb29cfbadeaabbea88d4f (diff)
downloadgsoc2013-evolution-63a62abfad0269525b53ff4248547edf4d6500b9.tar.gz
gsoc2013-evolution-63a62abfad0269525b53ff4248547edf4d6500b9.tar.zst
gsoc2013-evolution-63a62abfad0269525b53ff4248547edf4d6500b9.zip
No loose name matches on family names. (#8802)
2001-09-15 Jon Trowbridge <trow@ximian.com> * backend/ebook/e-card-compare.c (e_card_compare_name): No loose name matches on family names. (#8802) svn path=/trunk/; revision=12857
Diffstat (limited to 'addressbook/gui/component/select-names/e-select-names.c')
-rw-r--r--addressbook/gui/component/select-names/e-select-names.c5
1 files changed, 5 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 eda6dbd301..5d76f00689 100644
--- a/addressbook/gui/component/select-names/e-select-names.c
+++ b/addressbook/gui/component/select-names/e-select-names.c
@@ -698,6 +698,7 @@ button_clicked(GtkWidget *button, ESelectNamesChild *child)
static void
remove_address(ETable *table, int row, int col, GdkEvent *event, ESelectNamesChild *child)
{
+ g_message ("remove row %d", row);
e_select_names_model_delete (child->source, row);
}
@@ -732,6 +733,8 @@ remove_cb (GtkWidget *widget, void *data)
{
RightClickData *rcdata = (RightClickData *)data;
+ e_select_names_model_freeze (rcdata->child->source);
+
/* Build a list of selected rows */
e_table_selected_row_foreach (rcdata->table,
etable_selection_foreach_cb,
@@ -742,6 +745,8 @@ remove_cb (GtkWidget *widget, void *data)
(GFunc)selected_rows_foreach_cb,
rcdata->child);
+ e_select_names_model_thaw (rcdata->child->source);
+
/* Free everything we've created */
g_free (rcdata);
g_slist_free (selected_rows);