[evolution-kolab] KolabMailImapClient: make InfoDb update optional in folder existence check
- From: Christian Hilberg <chilberg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-kolab] KolabMailImapClient: make InfoDb update optional in folder existence check
- Date: Wed, 19 Sep 2012 17:31:05 +0000 (UTC)
commit 97ad2a1bdfb67c8808e6d05d14461d4758133929
Author: Christian Hilberg <hilberg kernelconcepts de>
Date: Wed Sep 19 19:22:52 2012 +0200
KolabMailImapClient: make InfoDb update optional in folder existence check
src/libekolab/kolab-mail-imap-client.c | 3 ++-
src/libekolab/kolab-mail-imap-client.h | 1 +
2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/libekolab/kolab-mail-imap-client.c b/src/libekolab/kolab-mail-imap-client.c
index e067db5..a20ed11 100644
--- a/src/libekolab/kolab-mail-imap-client.c
+++ b/src/libekolab/kolab-mail-imap-client.c
@@ -1726,6 +1726,7 @@ kolab_mail_imap_client_delete_folder (KolabMailImapClient *self,
gboolean
kolab_mail_imap_client_exists_folder (KolabMailImapClient *self,
const gchar *foldername,
+ gboolean do_updatedb,
GCancellable *cancellable,
GError **err)
{
@@ -1745,7 +1746,7 @@ kolab_mail_imap_client_exists_folder (KolabMailImapClient *self,
g_assert (priv->is_up == TRUE);
folders = mail_imap_client_query_foldernames (self,
- FALSE,
+ do_updatedb,
cancellable,
&tmp_err);
if (tmp_err != NULL) {
diff --git a/src/libekolab/kolab-mail-imap-client.h b/src/libekolab/kolab-mail-imap-client.h
index 9826cf3..64bd33e 100644
--- a/src/libekolab/kolab-mail-imap-client.h
+++ b/src/libekolab/kolab-mail-imap-client.h
@@ -177,6 +177,7 @@ kolab_mail_imap_client_delete_folder (KolabMailImapClient *self,
gboolean kolab_mail_imap_client_exists_folder (KolabMailImapClient *self,
const gchar *foldername,
+ gboolean do_updatedb,
GCancellable *cancellable,
GError **err);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]