From f01589262ca132b980bb067e5aa6fbaee8fd3579 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Thu, 1 Mar 2001 00:58:16 +0000 Subject: Fixes for changes to search bar. (search_save): Removed. (search_full): 2001-03-01 Not Zed * folder-browser.c (folder_browser_search_menu_activated): Fixes for changes to search bar. (search_save): Removed. (search_full): Removed. (search_full_clicked): Removed. (folder_browser_search_option_items[]): Removed. (folder_browser_search_query_changed): Changed for search bar changes. (folder_browser_clear_search): Removed. * mail-vfolder.c (vfolder_clone_rule): New function to clone a filter/search rule into a matching vfolder rule. * mail-send-recv.c (mail_receive_uri): Setup a timeout for status updates. (build_dialogue): Setup timeout id for status updates. (operation_status_timeout): New function to set the status via a timeout. (receive_done): Remove the timeout handler if we need to. (operation_status): (receive_status): Just update the info, and let the timeout handler update the gui. (do_free_status): (do_show_status): Removed gui thread status message processing. 2001-02-28 Not Zed * folder-browser.c (folder_browser_config_search): New function to configure the FilterRule for the search mechanism. 2001-02-27 Not Zed * folder-browser.c (folder_browser_gui_init): Setup the search bar as a filterbar. (got_folder): Set the whole search bar sensitive or not based on the search capability of the folder. * folder-browser.h: Changed to use efilterbar instead of esearchbar. svn path=/trunk/; revision=8438 --- mail/main.c | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'mail/main.c') diff --git a/mail/main.c b/mail/main.c index 8da4c9420b..5900ee5625 100644 --- a/mail/main.c +++ b/mail/main.c @@ -32,10 +32,22 @@ #include "mail-mt.h" #include "mail-vtrash.h" -#if 0 +/*#define DO_MCHECK*/ + +#ifdef DO_MCHECK static int blowup(int status) { - printf("memory blew up, status %d\n", status); + switch(status) { + case 1: + printf("Double free failure\n"); + break; + case 2: + printf("Memory clobbered before block\n"); + break; + case 3: + printf("Memory clobbered after block\n"); + break; + } abort(); return status; } @@ -63,7 +75,7 @@ main (int argc, char *argv []) CORBA_ORB orb; struct sigaction sa, osa; -#if 0 +#ifdef DO_MCHECK /* used to make elfence work */ #if 0 free (malloc (10)); -- cgit v1.2.3