aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-06-30 05:48:17 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-06-30 05:48:17 +0800
commit240fee3d7900a3b9d9a65bdfeda4cdc299f72c58 (patch)
treea3234734cf9f8e629170bbaedcd32be83b7d6e39
parentb5a7aee5378ae0d233515c06d08718311b2bafbb (diff)
downloadgsoc2013-evolution-240fee3d7900a3b9d9a65bdfeda4cdc299f72c58.tar.gz
gsoc2013-evolution-240fee3d7900a3b9d9a65bdfeda4cdc299f72c58.tar.zst
gsoc2013-evolution-240fee3d7900a3b9d9a65bdfeda4cdc299f72c58.zip
Turn folder syncing back on here so that IMAP folders will sync without
2001-06-29 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-factory.c (control_deactivate): Turn folder syncing back on here so that IMAP folders will sync without needing to hit Send & Receive. svn path=/trunk/; revision=10611
-rw-r--r--mail/ChangeLog26
-rw-r--r--mail/folder-browser-factory.c9
2 files changed, 18 insertions, 17 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 10cc88d228..07d696365c 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,9 @@
2001-06-29 Jeffrey Stedfast <fejj@ximian.com>
+ * folder-browser-factory.c (control_deactivate): Turn folder
+ syncing back on here so that IMAP folders will sync without
+ needing to hit Send & Receive.
+
* mail-callbacks.c (ask_confirm_for_only_bcc): Throw up the
confirmation dialog.
(composer_get_message): If the user only specified Bcc recipients,
@@ -168,24 +172,26 @@
2001-06-26 Peter Williams <peterw@ximian.com>
- * folder-browser-ui.c: New file derived from folder-browser-factory.c.
- Contains the Bonobo UI code, split into three groups as described in
- ui/ChangeLog. Also contains the GalView stuff and the hookups into
- the Bonobo UI stuff.
+ * folder-browser-ui.c: New file derived from
+ folder-browser-factory.c. Contains the Bonobo UI code, split into
+ three groups as described in ui/ChangeLog. Also contains the
+ GalView stuff and the hookups into the Bonobo UI stuff.
- * folder-browser-factory.c: Move most of the UI stuff to folder-browser-ui.c.
- (control_activate): Add all three kinds of UI element to this folderbrowser.
+ * folder-browser-factory.c: Move most of the UI stuff to
+ folder-browser-ui.c.
+ (control_activate): Add all three kinds of UI element to this
+ folderbrowser.
(control_deactivate): Remove all three kinds.
- * folder-browser-ui.h: New file. Prototypes functions to add UI elements
- to a FolderBrowser.
+ * folder-browser-ui.h: New file. Prototypes functions to add UI
+ elements to a FolderBrowser.
* Makefile.am: Add folder-browser-ui.{c,h}
* message-browser.c (PARENT_TYPE): Change to BONOBO_TYPE_WINDOW
(message_browser_destroy): Chain to parent destroy function.
- (set_bonobo_ui): New function. Add the 'message' functions from the folder
- browser to our UI.
+ (set_bonobo_ui): New function. Add the 'message' functions from
+ the folder browser to our UI.
(message_browser_close): BonoboVerbify this.
* message-browser.h: Convert to BonoboWindow.
diff --git a/mail/folder-browser-factory.c b/mail/folder-browser-factory.c
index 565eac0dd3..021ae363cf 100644
--- a/mail/folder-browser-factory.c
+++ b/mail/folder-browser-factory.c
@@ -77,15 +77,10 @@ control_deactivate (BonoboControl *control,
{
folder_browser_ui_rm_list (fb);
folder_browser_ui_rm_all (fb);
-
- /* turn this back on to get the old (broken) behaviour of
- * synching when leaving a folder
- */
-#if 0
+
if (fb->folder)
mail_sync_folder (fb->folder, NULL, NULL);
-#endif
-
+
folder_browser_set_ui_component (fb, NULL);
}