aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/folder-browser.c11
2 files changed, 13 insertions, 3 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 4ff010ecb8..b71ece8f04 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2001-10-15 Jeffrey Stedfast <fejj@ximian.com>
+
+ * folder-browser.c (folder_browser_destroy): Remove the mark_seen
+ timeout.
+
2001-10-15 Larry Ewing <lewing@ximian.com>
* mail-callbacks.c (mail_generate_reply): don't apply the body
diff --git a/mail/folder-browser.c b/mail/folder-browser.c
index ff83d029f0..d68ccacae9 100644
--- a/mail/folder-browser.c
+++ b/mail/folder-browser.c
@@ -177,6 +177,11 @@ folder_browser_destroy (GtkObject *object)
folder_browser = FOLDER_BROWSER (object);
+ if (folder_browser->seen_id) {
+ gtk_timeout_remove (folder_browser->seen_id);
+ folder_browser->seen_id = 0;
+ }
+
if (folder_browser->message_list) {
gtk_widget_destroy (GTK_WIDGET (folder_browser->message_list));
folder_browser->message_list = NULL;
@@ -186,7 +191,7 @@ folder_browser_destroy (GtkObject *object)
gtk_widget_destroy (GTK_WIDGET (folder_browser->mail_display));
folder_browser->mail_display = NULL;
}
-
+
folder_browser_parent_class->destroy (object);
}
@@ -792,8 +797,8 @@ got_folder(char *uri, CamelFolder *folder, void *data)
{
FolderBrowser *fb = data;
- d(printf ("got folder '%s' = %p\n", uri, folder));
-
+ d(printf ("got folder '%s' = %p, previous folder was %p\n", uri, folder, fb->folder));
+
if (fb->message_list == NULL)
goto done;