aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/select-names/e-select-names.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-07-08 02:37:43 +0800
committerChris Lahey <clahey@src.gnome.org>2000-07-08 02:37:43 +0800
commitcf61f7c4dd6f445be551bea4b55e7902edf4a816 (patch)
tree318ef66d98dbbd186310f71fefcc35cbd9812045 /addressbook/gui/component/select-names/e-select-names.c
parentfc43959180e0ab748ba68fa4834e6913f2aba74e (diff)
downloadgsoc2013-evolution-cf61f7c4dd6f445be551bea4b55e7902edf4a816.tar.gz
gsoc2013-evolution-cf61f7c4dd6f445be551bea4b55e7902edf4a816.tar.zst
gsoc2013-evolution-cf61f7c4dd6f445be551bea4b55e7902edf4a816.zip
Make the entry widgets we create editable.
2000-07-07 Christopher James Lahey <clahey@helixcode.com> * 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
Diffstat (limited to 'addressbook/gui/component/select-names/e-select-names.c')
-rw-r--r--addressbook/gui/component/select-names/e-select-names.c10
1 files changed, 9 insertions, 1 deletions
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)
<grouping> <leaf column=\"0\" ascending=\"1\"/> </grouping> \
</ETableSpecification>"
+#define SPEC2 "<ETableSpecification no-header=\"1\"> \
+ <columns-shown> \
+ <column> 0 </column> \
+ <column> 2 </column> \
+ </columns-shown> \
+ <grouping> </grouping> \
+</ETableSpecification>"
+
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));