diff options
author | Dan Winship <danw@src.gnome.org> | 2000-10-05 07:26:39 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-10-05 07:26:39 +0800 |
commit | 8fee89d2fb528f546ba2215a0b343068f7afdd3b (patch) | |
tree | fac5943c9c81a5632b578803094f500b5c81b23a | |
parent | 58d412fb2654fbd9377163423fb371de1843ccc6 (diff) | |
download | gsoc2013-evolution-8fee89d2fb528f546ba2215a0b343068f7afdd3b.tar gsoc2013-evolution-8fee89d2fb528f546ba2215a0b343068f7afdd3b.tar.gz gsoc2013-evolution-8fee89d2fb528f546ba2215a0b343068f7afdd3b.tar.bz2 gsoc2013-evolution-8fee89d2fb528f546ba2215a0b343068f7afdd3b.tar.lz gsoc2013-evolution-8fee89d2fb528f546ba2215a0b343068f7afdd3b.tar.xz gsoc2013-evolution-8fee89d2fb528f546ba2215a0b343068f7afdd3b.tar.zst gsoc2013-evolution-8fee89d2fb528f546ba2215a0b343068f7afdd3b.zip |
Add back the "sync folder on leave" hack that got lost in the UIHandler
* folder-browser-factory.c (control_deactivate): Add back the
"sync folder on leave" hack that got lost in the UIHandler merge.
svn path=/trunk/; revision=5728
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/folder-browser-factory.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 1f7fdab7b4..d1b46fb100 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2000-10-04 Dan Winship <danw@helixcode.com> + + * folder-browser-factory.c (control_deactivate): Add back the + "sync folder on leave" hack that got lost in the UIHandler merge. + 2000-10-04 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser-factory.c: Instead of UnSelectAll, we want diff --git a/mail/folder-browser-factory.c b/mail/folder-browser-factory.c index 29db6ff498..4dca006a25 100644 --- a/mail/folder-browser-factory.c +++ b/mail/folder-browser-factory.c @@ -208,12 +208,13 @@ control_deactivate (BonoboControl *control, BonoboUIHandler *uih, FolderBrowser *fb) { - g_warning ("In mail control_deactivate"); bonobo_ui_component_rm ( bonobo_ui_compat_get_component (uih), bonobo_ui_compat_get_container (uih), "/", NULL); bonobo_ui_handler_unset_container (uih); + + mail_do_sync_folder (fb->folder); } static void |