aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
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
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')
-rw-r--r--addressbook/ChangeLog7
-rw-r--r--addressbook/gui/component/select-names/e-select-names-table-model.c6
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 "";
}