From cf945fcde2d0ee22a0d63e8ba73f7f198eeeb549 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Wed, 20 Feb 2002 03:51:20 +0000 Subject: Prompt the user to find out if he/she wants to go to the next folder with 2002-02-19 Jeffrey Stedfast * mail-callbacks.c (confirm_goto_next_folder): Prompt the user to find out if he/she wants to go to the next folder with unread mail in it. (find_current_folder): Find a given CamelFolderInfo node based on a given uri. (find_next_folder_r): Recursively look for a CamelFOlderInfo node which has unread messages. (find_next_folder): Given a currently selected CamelFolderInfo node, look for the next node containing unread messages. (do_evil_kludgy_goto_next_folder_hack): Find the currently selected folder and then find the very next folder after it that contains unread messages and then select it via a CORBA call to the shell. (next_unread_msg): If we fail to find an unread message in the message-list, prompt the user to find out if we should jump to the next fodler containing unread messages. If so, call do_evil_kludgy_goto_next_folder_hack(). * message-list.c (message_list_select): Return a boolean value based on whether the call was successfull or not. * mail-config.c (mail_config_get_confirm_goto_next_folder): (mail_config_set_confirm_goto_next_folder): (mail_config_get_goto_next_folder): (mail_config_set_goto_next_folder): All new functions, yay. (config_read): Read in the confirm_goto_next_folder and goto_next_folder config options. (mail_config_write_on_exit): Same the options here. svn path=/trunk/; revision=15770 --- mail/folder-browser.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'mail/folder-browser.h') diff --git a/mail/folder-browser.h b/mail/folder-browser.h index 1b76f82c97..fd399df930 100644 --- a/mail/folder-browser.h +++ b/mail/folder-browser.h @@ -36,7 +36,7 @@ typedef enum _FolderBrowserSelectionState { struct _FolderBrowser { GtkTable parent; - + BonoboPropertyBag *properties; GNOME_Evolution_Shell shell; @@ -57,7 +57,7 @@ struct _FolderBrowser { char *new_uid; /* place to save the next uid during idle timeout */ char *loaded_uid; /* what we have loaded */ guint loading_id, seen_id; - + /* a folder we are expunging, dont use other than to compare the pointer value */ CamelFolder *expunging; @@ -84,10 +84,10 @@ struct _FolderBrowser { GtkWidget *invisible; GByteArray *clipboard_selection; - + /* for async events */ struct _MailAsyncEvent *async_event; - + int get_id; /* for getting folder op */ }; -- cgit v1.2.3