aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2003-03-19 13:26:18 +0800
committerChris Toshok <toshok@src.gnome.org>2003-03-19 13:26:18 +0800
commit30231895d1ff40a8eaa67383a697c06540ed3196 (patch)
treea1c68831a5f6cd123379239d542afff3670c7254 /addressbook/gui/component
parent70c39223a7eb8e41785548cb3d19c5d1d71d938a (diff)
downloadgsoc2013-evolution-30231895d1ff40a8eaa67383a697c06540ed3196.tar
gsoc2013-evolution-30231895d1ff40a8eaa67383a697c06540ed3196.tar.gz
gsoc2013-evolution-30231895d1ff40a8eaa67383a697c06540ed3196.tar.bz2
gsoc2013-evolution-30231895d1ff40a8eaa67383a697c06540ed3196.tar.lz
gsoc2013-evolution-30231895d1ff40a8eaa67383a697c06540ed3196.tar.xz
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
Diffstat (limited to 'addressbook/gui/component')
-rw-r--r--addressbook/gui/component/select-names/e-select-names-table-model.c6
1 files changed, 5 insertions, 1 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 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 "";
}