aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-tools.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-08-11 22:41:04 +0800
committerDan Winship <danw@src.gnome.org>2000-08-11 22:41:04 +0800
commitf0cbd6a20b8764be5524e5e4c666d33b22028b12 (patch)
treee1b5a1f3e15bd56b6bbdc035d0f89e39aa3343df /mail/mail-tools.h
parent5d33edf6a752557ddfb586ef153b3b5395f4c400 (diff)
downloadgsoc2013-evolution-f0cbd6a20b8764be5524e5e4c666d33b22028b12.tar
gsoc2013-evolution-f0cbd6a20b8764be5524e5e4c666d33b22028b12.tar.gz
gsoc2013-evolution-f0cbd6a20b8764be5524e5e4c666d33b22028b12.tar.bz2
gsoc2013-evolution-f0cbd6a20b8764be5524e5e4c666d33b22028b12.tar.lz
gsoc2013-evolution-f0cbd6a20b8764be5524e5e4c666d33b22028b12.tar.xz
gsoc2013-evolution-f0cbd6a20b8764be5524e5e4c666d33b22028b12.tar.zst
gsoc2013-evolution-f0cbd6a20b8764be5524e5e4c666d33b22028b12.zip
Add a function to return a useful name for a folder (not just "mbox" or
* mail-tools.c (mail_tool_get_folder_name): Add a function to return a useful name for a folder (not just "mbox" or "mh" for any local folder.) * mail-ops.c: Use mail_tool_get_folder_name rather than folder->full_name when printing folder names. svn path=/trunk/; revision=4733
Diffstat (limited to 'mail/mail-tools.h')
-rw-r--r--mail/mail-tools.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/mail-tools.h b/mail/mail-tools.h
index 9b6fab56c4..16215f38c9 100644
--- a/mail/mail-tools.h
+++ b/mail/mail-tools.h
@@ -36,6 +36,9 @@ CamelFolder *
mail_tool_get_folder_from_urlname (const gchar *url, const gchar *name,
gboolean create, CamelException *ex);
+/* Get a useful name for a given CamelFolder (ie, not "mbox") */
+const gchar *mail_tool_get_folder_name (CamelFolder *folder);
+
/* Get the url for the local inbox */
gchar *mail_tool_get_local_inbox_url (void);