diff options
author | Chris Toshok <toshok@ximian.com> | 2003-02-17 10:00:32 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2003-02-17 10:00:32 +0800 |
commit | 9e048335b618fea2076c690479cd655d35a56515 (patch) | |
tree | d60440f1c22cfca6281597e67ecd8f00ae2e5ab7 /addressbook/gui/widgets/e-addressbook-model.h | |
parent | aba27fbc03e26cf04ed7d9204968317e69112640 (diff) | |
download | gsoc2013-evolution-9e048335b618fea2076c690479cd655d35a56515.tar.gz gsoc2013-evolution-9e048335b618fea2076c690479cd655d35a56515.tar.zst gsoc2013-evolution-9e048335b618fea2076c690479cd655d35a56515.zip |
disconnect search_started and search_result. (addressbook_compare): if
2003-02-16 Chris Toshok <toshok@ximian.com>
* 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
Diffstat (limited to 'addressbook/gui/widgets/e-addressbook-model.h')
-rw-r--r-- | addressbook/gui/widgets/e-addressbook-model.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |