From 57de6972c845dbae49717a4520aeed75f88f0078 Mon Sep 17 00:00:00 2001 From: Jon Trowbridge Date: Fri, 16 Mar 2001 08:16:29 +0000 Subject: Added addressbook querying and "cardification" functions, which are turned 2001-03-15 Jon Trowbridge * gui/component/e-address-widget.c: Added addressbook querying and "cardification" functions, which are turned off by default for now because of addressbook bugs. Added a popup menu option to turn queries on, so that others can enjoy the thrill of massive flaming death. * gui/component/addressbook-factory.c (main): Made warnings always be fatal. * backend/pas/pas-book-view.c: Added some debugging spew. * backend/pas/pas-backend-file.c (pas_backend_file_search): Added a little experimental code to try to make file searches scale better. #if 0/#endif-ed out for now. * contact-editor/e-contact-quick-add.c: #included e-book-util.h. * backend/ebook/e-card.c (e_card_name_match_string): Added. Looser name-matching function. (e_card_email_match_string): Added. Loose e-mail matching. * backend/ebook/e-book-view-listener.c (e_book_view_listener_check_queue): Added code to cause us to abort rather than get trapped in a 100%-CPU-consuming loop in certain situations. Now we just need to figure out how to avoid these situations altogether. * backend/ebook/e-book-util.c: Added. Now contains the simple query stuff and the open local addressbook functions. * backend/ebook/e-book.c: Moved simple query stuff and open local addressbook functions into e-book-util.c. 2001-03-15 Jon Trowbridge * wombat.c (main): If we can't initialize a service on startup, tell us which one before terminating. svn path=/trunk/; revision=8754 --- addressbook/gui/component/e-address-widget.h | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) (limited to 'addressbook/gui/component/e-address-widget.h') diff --git a/addressbook/gui/component/e-address-widget.h b/addressbook/gui/component/e-address-widget.h index 7168242323..2b0b6073c5 100644 --- a/addressbook/gui/component/e-address-widget.h +++ b/addressbook/gui/component/e-address-widget.h @@ -30,6 +30,8 @@ #include #include +#include +#include #include BEGIN_GNOME_DECLS @@ -53,8 +55,11 @@ struct _EAddressWidget { GtkWidget *email_widget; GtkWidget *spacer; - gboolean querying; + guint query_idle_tag; + guint query_tag; + ECard *card; + gboolean known_email; }; struct _EAddressWidgetClass { @@ -71,7 +76,7 @@ void e_address_widget_construct (EAddressWidget *); GtkWidget *e_address_widget_new (void); -void e_address_widget_factory_init (void); +void e_address_widget_factory_init (void); @@ -79,3 +84,17 @@ END_GNOME_DECLS #endif /* __E_ADDRESS_WIDGET_H__ */ + + + + + + + + + + + + + + -- cgit v1.2.3