From f0cbd6a20b8764be5524e5e4c666d33b22028b12 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Fri, 11 Aug 2000 14:41:04 +0000 Subject: 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 --- mail/mail-tools.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mail/mail-tools.h') 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); -- cgit v1.2.3