aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-05-04 04:54:07 +0800
committerDan Winship <danw@src.gnome.org>2001-05-04 04:54:07 +0800
commit08e6ede22adccfa0eb798135113b3e74dae0fa8d (patch)
treebca33e8ab5b9a69463f1a9a88ce661ebe4d6d7d4 /mail
parent7c553e6e5bb47c7b4b26f9bed147e7b7df234f96 (diff)
downloadgsoc2013-evolution-08e6ede22adccfa0eb798135113b3e74dae0fa8d.tar
gsoc2013-evolution-08e6ede22adccfa0eb798135113b3e74dae0fa8d.tar.gz
gsoc2013-evolution-08e6ede22adccfa0eb798135113b3e74dae0fa8d.tar.bz2
gsoc2013-evolution-08e6ede22adccfa0eb798135113b3e74dae0fa8d.tar.lz
gsoc2013-evolution-08e6ede22adccfa0eb798135113b3e74dae0fa8d.tar.xz
gsoc2013-evolution-08e6ede22adccfa0eb798135113b3e74dae0fa8d.tar.zst
gsoc2013-evolution-08e6ede22adccfa0eb798135113b3e74dae0fa8d.zip
#include <camel/camel-file-utils.h>
* message-list.c: #include <camel/camel-file-utils.h> * mail-ops.c (get_folderinfo_get): * subscribe-dialog.c (build_tree): Update for camel_store_get_folder_info prototype change. * mail-format.c (handle_text_plain_flowed): Improve more on the fix from the other day: the first level of indentation adds blank lines, but further levels don't... svn path=/trunk/; revision=9660
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog12
-rw-r--r--mail/mail-format.c6
-rw-r--r--mail/mail-ops.c10
-rw-r--r--mail/message-list.c3
-rw-r--r--mail/subscribe-dialog.c2
5 files changed, 25 insertions, 8 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 73f6b34ca7..1bb358058f 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,15 @@
+2001-05-03 Dan Winship <danw@ximian.com>
+
+ * message-list.c: #include <camel/camel-file-utils.h>
+
+ * mail-ops.c (get_folderinfo_get):
+ * subscribe-dialog.c (build_tree): Update for
+ camel_store_get_folder_info prototype change.
+
+ * mail-format.c (handle_text_plain_flowed): Improve more on the
+ fix from the other day: the first level of indentation adds blank
+ lines, but further levels don't...
+
2001-04-30 Dan Winship <danw@ximian.com>
* folder-browser.c (folder_browser_destroy): Unhook event handlers
diff --git a/mail/mail-format.c b/mail/mail-format.c
index 81766f6206..5e5975f211 100644
--- a/mail/mail-format.c
+++ b/mail/mail-format.c
@@ -978,14 +978,14 @@ handle_text_plain_flowed (char *buf, MailDisplay *md)
mail_html_write (md->html, md->stream,
"<font color=\"#%06x\">",
citation_color);
+ if (br_pending)
+ br_pending--;
}
while (quoting > prevquoting) {
mail_html_write (md->html, md->stream,
"<blockquote>");
prevquoting++;
}
- if (br_pending)
- br_pending--;
while (quoting < prevquoting) {
mail_html_write (md->html, md->stream,
"</blockquote>");
@@ -994,6 +994,8 @@ handle_text_plain_flowed (char *buf, MailDisplay *md)
if (quoting == 0) {
mail_html_write (md->html, md->stream,
"</font>\n");
+ if (br_pending)
+ br_pending--;
}
}
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index badb3b777f..05ab7cbf4b 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -1039,11 +1039,13 @@ add_vtrash_info (CamelFolderInfo *info)
static void get_folderinfo_get(struct _mail_msg *mm)
{
struct _get_folderinfo_msg *m = (struct _get_folderinfo_msg *)mm;
-
+ guint32 flags = CAMEL_STORE_FOLDER_INFO_RECURSIVE;
+
+ if (camel_store_supports_subscriptions (m->store))
+ flags |= CAMEL_STORE_FOLDER_INFO_SUBSCRIBED;
+
camel_operation_register(mm->cancel);
- m->info = camel_store_get_folder_info (m->store, NULL, FALSE, TRUE,
- camel_store_supports_subscriptions (m->store),
- &mm->ex);
+ m->info = camel_store_get_folder_info (m->store, NULL, flags, &mm->ex);
if (m->info && m->info->url)
add_vtrash_info (m->info);
camel_operation_unregister(mm->cancel);
diff --git a/mail/message-list.c b/mail/message-list.c
index 0b6e7b8d56..b5921b7412 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -30,10 +30,11 @@
#include <gal/e-table/e-tree-memory-callbacks.h>
#include <camel/camel-exception.h>
+#include <camel/camel-file-utils.h>
#include <camel/camel-folder.h>
-#include <e-util/ename/e-name-western.h>
#include <camel/camel-folder-thread.h>
#include <camel/camel-vtrash-folder.h>
+#include <e-util/ename/e-name-western.h>
#include <e-util/e-memory.h>
#include "mail-config.h"
diff --git a/mail/subscribe-dialog.c b/mail/subscribe-dialog.c
index d758334dd2..1f73a19669 100644
--- a/mail/subscribe-dialog.c
+++ b/mail/subscribe-dialog.c
@@ -750,7 +750,7 @@ build_tree (SubscribeDialog *sc, CamelStore *store)
sc->store = store;
sc->storage = mail_lookup_storage (sc->store);
- sc->folder_info = camel_store_get_folder_info (sc->store, sc->search_top, TRUE, TRUE, FALSE, ex);
+ sc->folder_info = camel_store_get_folder_info (sc->store, sc->search_top, CAMEL_STORE_FOLDER_INFO_RECURSIVE | CAMEL_STORE_FOLDER_INFO_FAST, ex);
if (camel_exception_is_set (ex)) {
printf ("camel_store_get_folder_info failed\n");