From 8fefb8df4b9f1901537ab31cefc3e44e86f4d099 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Wed, 18 Oct 2000 19:38:52 +0000 Subject: Change NAME_OR_ORG to return the email address if both name and 2000-10-18 Christopher James Lahey * backend/ebook/e-card-simple.c: Change NAME_OR_ORG to return the email address if both name and organization are taken. * gui/component/select-names/e-select-names.c: Fixed up the spec strings in this class. Removed the "cursor_mode" argument to ETable since it's part of the spec now. svn path=/trunk/; revision=6003 --- addressbook/gui/component/select-names/e-select-names.c | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'addressbook/gui/component') diff --git a/addressbook/gui/component/select-names/e-select-names.c b/addressbook/gui/component/select-names/e-select-names.c index 611f6a76ff..e0ff5f6519 100644 --- a/addressbook/gui/component/select-names/e-select-names.c +++ b/addressbook/gui/component/select-names/e-select-names.c @@ -87,19 +87,19 @@ e_select_names_class_init (ESelectNamesClass *klass) object_class->destroy = e_select_names_destroy; } -#define SPEC " \ - \ +#define SPEC " \ + \ \ \ \ \ " -#define SPEC2 " \ +#define SPEC2 " \ \ \ \ - \ + \ \ " @@ -139,10 +139,6 @@ e_addressbook_create_ebook_table(char *name, char *string1, char *string2, int n g_free(filename); table = e_table_scrolled_new (model, NULL, SPEC, NULL); - gtk_object_set(GTK_OBJECT(table), - "cursor_mode", E_TABLE_CURSOR_LINE, - NULL); - gtk_object_set_data(GTK_OBJECT(table), "model", model); return table; } @@ -336,10 +332,6 @@ e_select_names_add_section(ESelectNames *e_select_names, char *name, char *id, E gtk_signal_connect(GTK_OBJECT(etable), "double_click", GTK_SIGNAL_FUNC(remove_address), child); - gtk_object_set(GTK_OBJECT(etable), - "cursor_mode", E_TABLE_CURSOR_LINE, - NULL); - child->model = model; child->source = source; gtk_object_ref(GTK_OBJECT(child->model)); -- cgit v1.2.3