From 30231895d1ff40a8eaa67383a697c06540ed3196 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Wed, 19 Mar 2003 05:26:18 +0000 Subject: up the column count by one for the underline. 2003-03-18 Chris Toshok * gui/component/select-names/e-select-names-table-model.c (e_select_names_table_model_col_count): up the column count by one for the underline. (e_select_names_table_model_value_at): add handling for underline. svn path=/trunk/; revision=20355 --- addressbook/ChangeLog | 7 +++++++ .../gui/component/select-names/e-select-names-table-model.c | 6 +++++- 2 files changed, 12 insertions(+), 1 deletion(-) (limited to 'addressbook') diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index e38cb28b3d..d38e0ec8d9 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,10 @@ +2003-03-18 Chris Toshok + + * gui/component/select-names/e-select-names-table-model.c + (e_select_names_table_model_col_count): up the column count by one + for the underline. + (e_select_names_table_model_value_at): add handling for underline. + 2003-03-18 Chris Toshok * gui/component/e-address-popup.c (email_menu_add_option): fix use 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 96d20b3e53..1c55c3804d 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 @@ -181,7 +181,7 @@ e_select_names_table_model_dispose (GObject *object) static int e_select_names_table_model_col_count (ETableModel *etc) { - return 2; + return 3; } /* This function returns the number of rows in our ETableModel. */ @@ -220,6 +220,10 @@ e_select_names_table_model_value_at (ETableModel *etc, int col, int row) } return e_select_names_table_model->data[row].email; break; + case 2: + /* underline column*/ + return (void*)TRUE; + break; } return ""; } -- cgit v1.2.3