From 9e048335b618fea2076c690479cd655d35a56515 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Mon, 17 Feb 2003 02:00:32 +0000 Subject: disconnect search_started and search_result. (addressbook_compare): if 2003-02-16 Chris Toshok * gui/widgets/e-addressbook-reflow-adapter.c (unlink_model): disconnect search_started and search_result. (addressbook_compare): if we're loading, just compare model positions (so we just append while loading). (remove_card): use e_reflow_model_item_removed. (search_started): new function, set loading = TRUE. (search_result): new function, set loading = FALSE and emit "comparison_changed". (e_addressbook_reflow_adapter_init): init loading and the new signal ids. (e_addressbook_reflow_adapter_construct): connect "search_started" and "search_result". * gui/widgets/e-addressbook-model.h (struct _EAddressbookModelClass): add search_started signal. * gui/widgets/e-addressbook-model.c (e_addressbook_model_class_init): new signal "search_started". (book_view_loaded): emit "search_started" after "model_changed". (remove_card): simplify this, and use CARD_REMOVED all the time, instead of just in the single card case. svn path=/trunk/; revision=19916 --- addressbook/gui/widgets/e-addressbook-model.h | 1 + 1 file changed, 1 insertion(+) (limited to 'addressbook/gui/widgets/e-addressbook-model.h') diff --git a/addressbook/gui/widgets/e-addressbook-model.h b/addressbook/gui/widgets/e-addressbook-model.h index c5d9e6ca84..57cfe6f729 100644 --- a/addressbook/gui/widgets/e-addressbook-model.h +++ b/addressbook/gui/widgets/e-addressbook-model.h @@ -49,6 +49,7 @@ struct _EAddressbookModelClass { * Signals */ void (*writable_status) (EAddressbookModel *model, gboolean writable); + void (*search_started) (EAddressbookModel *model); void (*search_result) (EAddressbookModel *model, EBookViewStatus status); void (*status_message) (EAddressbookModel *model, const gchar *message); void (*folder_bar_message) (EAddressbookModel *model, const gchar *message); -- cgit v1.2.3