aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-browser.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2000-07-11 00:37:55 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2000-07-11 00:37:55 +0800
commit76bfeb54e470cabb0dd24900bfc663981b3c3e32 (patch)
treeedbb7e467714317a5dc5e555139902720d167349 /mail/folder-browser.c
parent2e13a6556500098fe1930c33d69a16803e04eb99 (diff)
downloadgsoc2013-evolution-76bfeb54e470cabb0dd24900bfc663981b3c3e32.tar
gsoc2013-evolution-76bfeb54e470cabb0dd24900bfc663981b3c3e32.tar.gz
gsoc2013-evolution-76bfeb54e470cabb0dd24900bfc663981b3c3e32.tar.bz2
gsoc2013-evolution-76bfeb54e470cabb0dd24900bfc663981b3c3e32.tar.lz
gsoc2013-evolution-76bfeb54e470cabb0dd24900bfc663981b3c3e32.tar.xz
gsoc2013-evolution-76bfeb54e470cabb0dd24900bfc663981b3c3e32.tar.zst
gsoc2013-evolution-76bfeb54e470cabb0dd24900bfc663981b3c3e32.zip
Fix syncing of the mailbox on exit so that it's done on destruction of
the corresponding FolderBrowser instead of using the "owner_unset" signel (the latter was broken, because the FolderBrowser is destroyed before "owner_unset" is emitted, so we have no chance to sync at that point). svn path=/trunk/; revision=4038
Diffstat (limited to 'mail/folder-browser.c')
-rw-r--r--mail/folder-browser.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/folder-browser.c b/mail/folder-browser.c
index f4ec07f9ff..201a7d9252 100644
--- a/mail/folder-browser.c
+++ b/mail/folder-browser.c
@@ -25,7 +25,9 @@ static void
folder_browser_destroy (GtkObject *object)
{
FolderBrowser *folder_browser = FOLDER_BROWSER (object);
-
+
+ camel_folder_sync (folder_browser->folder, FALSE, NULL);
+
if (folder_browser->shell) {
CORBA_Environment ev;