aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/select-names/e-select-names.h
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2001-06-01 06:27:56 +0800
committerChris Toshok <toshok@src.gnome.org>2001-06-01 06:27:56 +0800
commit69e9359204f78d5145867f841caed0a6dc642478 (patch)
tree7aae384153d29acb13a63947c1620b74d1eea84a /addressbook/gui/component/select-names/e-select-names.h
parent6b6d9e32a4848b5fcb54ad83b681a828e6ed2a01 (diff)
downloadgsoc2013-evolution-69e9359204f78d5145867f841caed0a6dc642478.tar
gsoc2013-evolution-69e9359204f78d5145867f841caed0a6dc642478.tar.gz
gsoc2013-evolution-69e9359204f78d5145867f841caed0a6dc642478.tar.bz2
gsoc2013-evolution-69e9359204f78d5145867f841caed0a6dc642478.tar.lz
gsoc2013-evolution-69e9359204f78d5145867f841caed0a6dc642478.tar.xz
gsoc2013-evolution-69e9359204f78d5145867f841caed0a6dc642478.tar.zst
gsoc2013-evolution-69e9359204f78d5145867f841caed0a6dc642478.zip
add the EAddressbookModel* and change the ETableModel's name to "adapter".
2001-05-31 Chris Toshok <toshok@ximian.com> * gui/component/select-names/e-select-names.h (struct _ESelectNames): add the EAddressbookModel* and change the ETableModel's name to "adapter". * gui/component/select-names/e-select-names.c (set_book), (addressbook_model_set_uri): these two things take an EAddressbookModel* instead of an ETableModel now. (e_addressbook_create_ebook_table): don't case the EAddressbookModel* to ETableModel*, create an EAddressbookTableAdapter on the EAddressbookModel instead. (e_select_names_init): set e_select_names->adapter. svn path=/trunk/; revision=10072
Diffstat (limited to 'addressbook/gui/component/select-names/e-select-names.h')
-rw-r--r--addressbook/gui/component/select-names/e-select-names.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/addressbook/gui/component/select-names/e-select-names.h b/addressbook/gui/component/select-names/e-select-names.h
index d059de453d..4f2cf7c8a4 100644
--- a/addressbook/gui/component/select-names/e-select-names.h
+++ b/addressbook/gui/component/select-names/e-select-names.h
@@ -30,6 +30,8 @@
#include <gal/e-table/e-table.h>
#include <gal/e-table/e-table-scrolled.h>
+#include <addressbook/gui/widgets/e-addressbook-model.h>
+
#include "e-select-names-model.h"
#include "e-util/e-list.h"
#include "shell/evolution-storage-listener.h"
@@ -66,7 +68,8 @@ struct _ESelectNames
GHashTable *children; /* Of type char * to ESelectNamesChild */
int child_count;
ETableScrolled *table;
- ETableModel *model;
+ ETableModel *adapter;
+ EAddressbookModel *model;
int currently_selected;
EvolutionStorageListener *listener;
GHashTable *folders;