diff options
Diffstat (limited to 'addressbook')
-rw-r--r-- | addressbook/ChangeLog | 10 | ||||
-rw-r--r-- | addressbook/gui/component/select-names/e-select-names.c | 6 |
2 files changed, 13 insertions, 3 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 3f02359832..9374e6c7b9 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,5 +1,15 @@ 2000-12-09 Christopher James Lahey <clahey@helixcode.com> + * gui/component/select-names/e-select-names.c + (e_select_names_init): Connect to the "cursor_change" signal on + the ETable here instead of the ETableScrolled. + (remove_address): Added the col and event parameters to this + callback to match the added parameters to the double click signal. + (e_select_names_add_section): Connect to the "double_click" signal + on the ETable here instead of the ETableScrolled. + +2000-12-09 Christopher James Lahey <clahey@helixcode.com> + * backend/ebook/e-card.c (e_card_set_arg): When setting the "name" argument, copy the incoming name. This fixes a crash. diff --git a/addressbook/gui/component/select-names/e-select-names.c b/addressbook/gui/component/select-names/e-select-names.c index ece38c5efe..b039b661dd 100644 --- a/addressbook/gui/component/select-names/e-select-names.c +++ b/addressbook/gui/component/select-names/e-select-names.c @@ -182,7 +182,7 @@ e_select_names_init (ESelectNames *e_select_names) e_select_names->currently_selected = -1; - gtk_signal_connect(GTK_OBJECT(e_select_names->table), "cursor_change", + gtk_signal_connect(GTK_OBJECT(e_table_scrolled_get_table(e_select_names->table)), "cursor_change", GTK_SIGNAL_FUNC(set_current_selection), e_select_names); } @@ -274,7 +274,7 @@ button_clicked(GtkWidget *button, ESelectNamesChild *child) } static void -remove_address(ETableScrolled *table, int row, ESelectNamesChild *child) +remove_address(ETableScrolled *table, int row, int col, GdkEvent *event, ESelectNamesChild *child) { EIterator *iterator = e_list_get_iterator(e_select_names_model_get_data(child->source)); e_iterator_reset(iterator); @@ -327,7 +327,7 @@ e_select_names_add_section(ESelectNames *e_select_names, char *name, char *id, E model = e_select_names_table_model_new(source); etable = e_table_scrolled_new (model, NULL, SPEC2, NULL); - gtk_signal_connect(GTK_OBJECT(etable), "double_click", + gtk_signal_connect(GTK_OBJECT(e_table_scrolled_get_table(E_TABLE_SCROLLED(etable))), "double_click", GTK_SIGNAL_FUNC(remove_address), child); child->model = model; |