aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-10-20 04:30:43 +0800
committerDan Winship <danw@src.gnome.org>2000-10-20 04:30:43 +0800
commit24e77716ce81735b648302bc118557f2c9df273d (patch)
tree1a5edd93ebd63fa192e51bbb01164337a1b453eb /camel/camel-folder.c
parentfd66663d157d72222d7e99cad417a9a6a53608d0 (diff)
downloadgsoc2013-evolution-24e77716ce81735b648302bc118557f2c9df273d.tar.gz
gsoc2013-evolution-24e77716ce81735b648302bc118557f2c9df273d.tar.zst
gsoc2013-evolution-24e77716ce81735b648302bc118557f2c9df273d.zip
Update comment here so refresh_info isn't just for reconnects any more.
* camel-folder.c (camel_folder_refresh_info): Update comment here so refresh_info isn't just for reconnects any more. Make the default implementation a no-op rather than an error. * providers/nntp/camel-nntp-folder.c: Move refresh_info impl into camel_nntp_folder_new, since it would have leaked memory and not done anything useful if it was called later. * providers/mbox/camel-mbox-folder.c: Remove no-longer-necessary refresh_info impl. * providers/imap/camel-imap-folder.c (camel_imap_folder_changed): Update imap_folder->exists, but don't actually load the new messages. This is a temporary workaround to deal with the IMAP provider stealing the message list focus at annoying times. (imap_copy_message_to, imap_move_message_to): Emit a folder_changed by hand, for now. svn path=/trunk/; revision=6046
Diffstat (limited to 'camel/camel-folder.c')
-rw-r--r--camel/camel-folder.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/camel/camel-folder.c b/camel/camel-folder.c
index 9b38f79e53..792d3c5d01 100644
--- a/camel/camel-folder.c
+++ b/camel/camel-folder.c
@@ -251,8 +251,7 @@ camel_folder_sync (CamelFolder *folder, gboolean expunge, CamelException *ex)
static void
refresh_info (CamelFolder *folder, CamelException *ex)
{
- g_warning ("CamelFolder::refresh_info not implemented for `%s'",
- camel_type_to_name (CAMEL_OBJECT_GET_TYPE (folder)));
+ /* No op */
}
/**
@@ -260,9 +259,7 @@ refresh_info (CamelFolder *folder, CamelException *ex)
* @folder: The folder object
* @ex: exception object
*
- * Updates a folder's summary to be in sync with its backing store
- * (called upon creation and when the store's connection is lost
- * and then reestablished).
+ * Updates a folder's summary to be in sync with its backing store.
**/
void
camel_folder_refresh_info (CamelFolder *folder, CamelException *ex)