From 42508f7a3ba2e050ddec599740a525d62926bace Mon Sep 17 00:00:00 2001 From: Not Zed Date: Mon, 17 Mar 2003 22:44:58 +0000 Subject: use a hack to find out if the message-list was focussed before we 2003-03-12 Not Zed * mail-callbacks.c (expunge_folder): use a hack to find out if the message-list was focussed before we desensitise it. (expunged_folder): If the message-list was focussed before, re-grab the focus. For bug #29564. svn path=/trunk/; revision=20325 --- mail/folder-browser.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mail/folder-browser.h') diff --git a/mail/folder-browser.h b/mail/folder-browser.h index 24dd8db0bf..d538003301 100644 --- a/mail/folder-browser.h +++ b/mail/folder-browser.h @@ -63,7 +63,8 @@ struct _FolderBrowser { /* a folder we are expunging, dont use other than to compare the pointer value */ CamelFolder *expunging; - + int expunge_mlfocussed; /* true if the ml was focussed before we expunged */ + MessageList *message_list; MailDisplay *mail_display; GtkWidget *vpaned; -- cgit