From 4f26eac120fd30b1f8199a6aec29c436bfb558a4 Mon Sep 17 00:00:00 2001 From: Jon Trowbridge Date: Fri, 23 Mar 2001 09:39:37 +0000 Subject: Added. Call me old-fashioned, but I just prefer to have a real API rather 2001-03-23 Jon Trowbridge * gui/widgets/e-minicard-widget.c (e_minicard_widget_set_card): Added. Call me old-fashioned, but I just prefer to have a real API rather than doing everything via gtk_object_get/set-type calls. (e_minicard_widget_set_arg): Changed to call e_minicard_widget_set_card. * backend/ebook/e-book-util.c: Small changes to get rid of compiler warnings. (Casting out const, removed unused variables, etc.) Removed some debugging messages. * gui/component/addressbook-factory.c (main): Added call to e_address_popup_factory_init. * gui/component/e-address-popup.c: Added. A popup gadget that is invoked (as a bonobo control) when an address is left-clicked in the mailer. The addressbook is queries, and the address is either displayed as a minicard (if it already exists) or in a "generic format". A button is provided for editting/adding the contact. Some of the semantics of this widget are a bit... non-standard, because of bonobo issues. I can't really seem to replicate popup-menu behavior because of how bonobo propogates events, etc. so I've tried to produce something that I think is non-annoying. YMMV. 2001-03-23 Jon Trowbridge * mail-display.c (handle_embedded_address_object): #ifdef away some code I don't quite want to delete yet. (html_button_press_event): Remove some of Radek's placeholder code, replace it with code to create my AddressPopup bonobo control. * mail-format.c: Remove some obsolete code that if #ifdef-ed out a while ago. * mail-ops.c (send_queue_send): Strip out the X-Evolution-Identity header when sending. 2001-03-23 Jon Trowbridge * camel-filter-driver.c (camel_filter_driver_filter_message): Don't call camel_mime_message_set_identity. (The call is commented out, left over from some earlier experimentation that I want to be able to remember later...) * camel-mime-message.c (camel_mime_message_set_identity): Added. A function to set the X-Evolution-Identity header. svn path=/trunk/; revision=8916 --- addressbook/backend/ebook/e-book-util.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'addressbook/backend') diff --git a/addressbook/backend/ebook/e-book-util.c b/addressbook/backend/ebook/e-book-util.c index 1d1106e8f2..1c79ea5d71 100644 --- a/addressbook/backend/ebook/e-book-util.c +++ b/addressbook/backend/ebook/e-book-util.c @@ -151,8 +151,6 @@ simple_query_new (EBook *book, const char *query, EBookSimpleQueryCallback cb, g static void simple_query_free (SimpleQueryInfo *sq) { - GList *i; - /* Remove ourselves from the EBook's pending list. */ book_remove_simple_query (sq->book, sq); @@ -271,7 +269,7 @@ e_book_simple_query (EBook *book, const char *query, EBookSimpleQueryCallback cb #ifdef USE_WORKAROUND gtk_timeout_add (50, WORKAROUND_try_queue, NULL); #else - e_book_get_book_view (book, query, simple_query_book_view_cb, sq); + e_book_get_book_view (book, (gchar *) query, simple_query_book_view_cb, sq); #endif return sq->tag; @@ -426,8 +424,6 @@ e_book_name_and_email_query (EBook *book, } else return 0; - g_message ("query: %s", query); - info = g_new0 (NameEmailQueryInfo, 1); info->name = g_strdup (name); info->email = g_strdup (email); -- cgit v1.2.3