aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-10-16 07:12:29 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-10-16 07:12:29 +0800
commit4bcda57628342b0015417c5cf9c2932e1f8e8f54 (patch)
tree640c700953e5d79fa259a2e32eb0356aafc0bd0c
parentea2f6819c033b50ca2723a28bc9231c15a5c1241 (diff)
downloadgsoc2013-evolution-4bcda57628342b0015417c5cf9c2932e1f8e8f54.tar
gsoc2013-evolution-4bcda57628342b0015417c5cf9c2932e1f8e8f54.tar.gz
gsoc2013-evolution-4bcda57628342b0015417c5cf9c2932e1f8e8f54.tar.bz2
gsoc2013-evolution-4bcda57628342b0015417c5cf9c2932e1f8e8f54.tar.lz
gsoc2013-evolution-4bcda57628342b0015417c5cf9c2932e1f8e8f54.tar.xz
gsoc2013-evolution-4bcda57628342b0015417c5cf9c2932e1f8e8f54.tar.zst
gsoc2013-evolution-4bcda57628342b0015417c5cf9c2932e1f8e8f54.zip
Remove the mark_seen timeout.
2001-10-15 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (folder_browser_destroy): Remove the mark_seen timeout. svn path=/trunk/; revision=13689
-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;