aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 "";
}