diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-07-08 00:14:27 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-07-08 00:14:27 +0800 |
commit | 661cc2d0ef7f97a064543032b088d5092c36b4cb (patch) | |
tree | dd22ad7aca692e439e66c55ce56968bff64fa8c9 /addressbook/gui/component/select-names/e-select-names-table-model.c | |
parent | a4a1a93648db15b869ee67a19b7aad1873b5f9c7 (diff) | |
download | gsoc2013-evolution-661cc2d0ef7f97a064543032b088d5092c36b4cb.tar gsoc2013-evolution-661cc2d0ef7f97a064543032b088d5092c36b4cb.tar.gz gsoc2013-evolution-661cc2d0ef7f97a064543032b088d5092c36b4cb.tar.bz2 gsoc2013-evolution-661cc2d0ef7f97a064543032b088d5092c36b4cb.tar.lz gsoc2013-evolution-661cc2d0ef7f97a064543032b088d5092c36b4cb.tar.xz gsoc2013-evolution-661cc2d0ef7f97a064543032b088d5092c36b4cb.tar.zst gsoc2013-evolution-661cc2d0ef7f97a064543032b088d5092c36b4cb.zip |
Since ELDAPServer->port is a char *, allocate a string with the number 389
2000-07-07 Christopher James Lahey <clahey@helixcode.com>
* gui/component/addressbook.c (new_server_cb): Since
ELDAPServer->port is a char *, allocate a string with the number
389 contained.
* gui/component/addressbook.c: Make the select names test test the
new code instead of the old way of getting to an ESelectNames
dialog.
* gui/component/select-names/e-select-names-manager.c: Coded
storing the model for each section, creating an entry and
returning it, and for activating the dialog. Wrote a bit of the
get_cards code, but not all of it.
* gui/component/select-names/e-select-names-model.c,
gui/component/select-names/e-select-names-model.h: Coded all of
the code needed to make ESelectNamesTextModel work (it doesn't
yet, but all the code should be there.) Removed
E_SELECT_NAMES_MODEL_DATA_TYPE_SEPARATION_MATERIAL.
* gui/component/select-names/e-select-names-table-model.c,
gui/component/select-names/e-select-names-text-model.c: Changed
these to compensate for removal of
E_SELECT_NAMES_MODEL_DATA_TYPE_SEPARATION_MATERIAL.
* gui/component/select-names/e-select-names-table-model.h,
gui/component/select-names/e-select-names-text-model.h: Fixed some
silly typos.
* gui/component/select-names/e-select-names.c,
gui/component/select-names/e-select-names.h: Added a parameter to
add_section that lets you specify the source ESelectNamesModel.
svn path=/trunk/; revision=3948
Diffstat (limited to 'addressbook/gui/component/select-names/e-select-names-table-model.c')
-rw-r--r-- | addressbook/gui/component/select-names/e-select-names-table-model.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/addressbook/gui/component/select-names/e-select-names-table-model.c b/addressbook/gui/component/select-names/e-select-names-table-model.c index 7f4d916435..2109eea0a0 100644 --- a/addressbook/gui/component/select-names/e-select-names-table-model.c +++ b/addressbook/gui/component/select-names/e-select-names-table-model.c @@ -111,10 +111,7 @@ fill_in_info (ESelectNamesTableModel *model) EIterator *iterator = e_list_get_iterator(list); int count = 0; for (e_iterator_reset(iterator); e_iterator_is_valid(iterator); e_iterator_next(iterator)) { - const ESelectNamesModelData *data = e_iterator_get(iterator); - if (data->type != E_SELECT_NAMES_MODEL_DATA_TYPE_SEPARATION_MATERIAL) { - count ++; - } + count ++; } model->count = count; model->data = g_new(ESelectNamesTableModelData, count); @@ -135,8 +132,6 @@ fill_in_info (ESelectNamesTableModel *model) model->data[count].email = g_strdup(data->string); count ++; break; - case E_SELECT_NAMES_MODEL_DATA_TYPE_SEPARATION_MATERIAL: - break; } } } else { |