diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-12-10 08:09:55 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-12-10 08:09:55 +0800 |
commit | f4fbeeefa18c0d04e5f0dc411a93e199afd4e215 (patch) | |
tree | da162f37de5db98b305674344d42db10dfbab8be /addressbook/gui/component | |
parent | df6a67437ba0c55f9dc49f7ab2e07ea02ebfd0ee (diff) | |
download | gsoc2013-evolution-f4fbeeefa18c0d04e5f0dc411a93e199afd4e215.tar.gz gsoc2013-evolution-f4fbeeefa18c0d04e5f0dc411a93e199afd4e215.tar.zst gsoc2013-evolution-f4fbeeefa18c0d04e5f0dc411a93e199afd4e215.zip |
Connect to the "cursor_change" signal on the ETable here instead of the
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.
svn path=/trunk/; revision=6894
Diffstat (limited to 'addressbook/gui/component')
-rw-r--r-- | addressbook/gui/component/select-names/e-select-names.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |