aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/select-names/e-select-names-model.h
diff options
context:
space:
mode:
authorJon Trowbridge <trow@ximian.com>2001-08-30 12:57:18 +0800
committerJon Trowbridge <trow@src.gnome.org>2001-08-30 12:57:18 +0800
commit19ec5dbb3b419740b0a9e84ba4c6667cb48c5631 (patch)
tree67407ecf7fe44221aa6199ce962520db47821fdd /addressbook/gui/component/select-names/e-select-names-model.h
parent206e67a5a62ea3f142c6fb60998dbd3b435ddee4 (diff)
downloadgsoc2013-evolution-19ec5dbb3b419740b0a9e84ba4c6667cb48c5631.tar
gsoc2013-evolution-19ec5dbb3b419740b0a9e84ba4c6667cb48c5631.tar.gz
gsoc2013-evolution-19ec5dbb3b419740b0a9e84ba4c6667cb48c5631.tar.bz2
gsoc2013-evolution-19ec5dbb3b419740b0a9e84ba4c6667cb48c5631.tar.lz
gsoc2013-evolution-19ec5dbb3b419740b0a9e84ba4c6667cb48c5631.tar.xz
gsoc2013-evolution-19ec5dbb3b419740b0a9e84ba4c6667cb48c5631.tar.zst
gsoc2013-evolution-19ec5dbb3b419740b0a9e84ba4c6667cb48c5631.zip
Use e_select_names_model_merge to combine the selected names with any
2001-08-29 Jon Trowbridge <trow@ximian.com> * gui/component/select-names/e-select-names-manager.c (e_select_names_clicked): Use e_select_names_model_merge to combine the selected names with any existing ones. This causes you to not lose addresses typed directly into the entry while the SelectNames dialog is up. (Bug #8058) * gui/component/select-names/e-select-names-model.c (e_select_names_model_merge): Merge the contents of one ESelectNamesModel into another, avoiding duplicates. * backend/ebook/e-destination.c (e_destination_equal): Added. Determines if two destinations appear to refer to the same recipient. * backend/ebook/e-card.c (e_card_list_send): Added cast to g_free args to silence compiler warnings. svn path=/trunk/; revision=12526
Diffstat (limited to 'addressbook/gui/component/select-names/e-select-names-model.h')
-rw-r--r--addressbook/gui/component/select-names/e-select-names-model.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/addressbook/gui/component/select-names/e-select-names-model.h b/addressbook/gui/component/select-names/e-select-names-model.h
index 9f89e91093..9fca3897db 100644
--- a/addressbook/gui/component/select-names/e-select-names-model.h
+++ b/addressbook/gui/component/select-names/e-select-names-model.h
@@ -61,12 +61,15 @@ void e_select_names_model_import_destinationv (ESelectNamesModel
ECard *e_select_names_model_get_card (ESelectNamesModel *model, gint index);
const gchar *e_select_names_model_get_string (ESelectNamesModel *model, gint index);
+gboolean e_select_names_model_contains (ESelectNamesModel *model, EDestination *dest);
+
void e_select_names_model_insert (ESelectNamesModel *model, gint index, EDestination *dest);
void e_select_names_model_append (ESelectNamesModel *model, EDestination *dest);
void e_select_names_model_replace (ESelectNamesModel *model, gint index, EDestination *dest);
void e_select_names_model_delete (ESelectNamesModel *model, gint index);
void e_select_names_model_delete_all (ESelectNamesModel *model);
void e_select_names_model_overwrite_copy (ESelectNamesModel *dest, ESelectNamesModel *src);
+void e_select_names_model_merge (ESelectNamesModel *dest, ESelectNamesModel *src);
void e_select_names_model_clean (ESelectNamesModel *model);