diff options
author | Chris Toshok <toshok@ximian.com> | 2003-03-19 13:26:18 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2003-03-19 13:26:18 +0800 |
commit | 30231895d1ff40a8eaa67383a697c06540ed3196 (patch) | |
tree | a1c68831a5f6cd123379239d542afff3670c7254 | |
parent | 70c39223a7eb8e41785548cb3d19c5d1d71d938a (diff) | |
download | gsoc2013-evolution-30231895d1ff40a8eaa67383a697c06540ed3196.tar.gz gsoc2013-evolution-30231895d1ff40a8eaa67383a697c06540ed3196.tar.zst gsoc2013-evolution-30231895d1ff40a8eaa67383a697c06540ed3196.zip |
up the column count by one for the underline.
2003-03-18 Chris Toshok <toshok@ximian.com>
* 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
-rw-r--r-- | addressbook/ChangeLog | 7 | ||||
-rw-r--r-- | addressbook/gui/component/select-names/e-select-names-table-model.c | 6 |
2 files changed, 12 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index e38cb28b3d..d38e0ec8d9 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,5 +1,12 @@ 2003-03-18 Chris Toshok <toshok@ximian.com> + * 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 <toshok@ximian.com> + * gui/component/e-address-popup.c (email_menu_add_option): fix use of deprecated gtk_menu_append. (card_picker_selection_changed): change this to be used with the 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 ""; } |