From cf61f7c4dd6f445be551bea4b55e7902edf4a816 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Fri, 7 Jul 2000 18:37:43 +0000 Subject: Make the entry widgets we create editable. 2000-07-07 Christopher James Lahey * gui/component/select-names/e-select-names-manager.c: Make the entry widgets we create editable. * gui/component/select-names/e-select-names-model.c: Use e_strsplit instead of g_strsplit. Fixed an off by 1 error. * gui/component/select-names/e-select-names-table-model.c: When the model changes, send a model changed signal. * gui/component/select-names/e-select-names-text-model.c: Made changing this work correctly if it's empty. Made change signals propagate properly. Is a bit better about freeing iterators when done. * gui/component/select-names/e-select-names.c: Made the finished lists be in order instead of being sorted. svn path=/trunk/; revision=3955 --- addressbook/gui/component/select-names/e-select-names.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'addressbook/gui/component/select-names/e-select-names.c') diff --git a/addressbook/gui/component/select-names/e-select-names.c b/addressbook/gui/component/select-names/e-select-names.c index b5e366a953..646321694f 100644 --- a/addressbook/gui/component/select-names/e-select-names.c +++ b/addressbook/gui/component/select-names/e-select-names.c @@ -103,6 +103,14 @@ e_select_names_class_init (ESelectNamesClass *klass) \ " +#define SPEC2 " \ + \ + 0 \ + 2 \ + \ + \ +" + GtkWidget *e_addressbook_create_ebook_table(char *name, char *string1, char *string2, int num1, int num2); static void @@ -294,7 +302,7 @@ e_select_names_add_section(ESelectNames *e_select_names, char *name, char *id, E cell_left_just = e_cell_text_new (model, NULL, GTK_JUSTIFY_LEFT); e_table_header_add_column (header, e_table_col_new (0, "Full Name", 1.0, 20, cell_left_just, g_str_compare, TRUE), 0); - etable = e_table_new (header, model, SPEC); + etable = e_table_new (header, model, SPEC2); child->model = model; gtk_object_ref(GTK_OBJECT(child->model)); -- cgit v1.2.3