[evolution] mail-config.c: Don't try to rename obsolete config files.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] mail-config.c: Don't try to rename obsolete config files.
- Date: Sat, 7 May 2011 15:27:43 +0000 (UTC)
commit 68dbed3700f1c97f58a14e01b761ae0d95b7d95e
Author: Matthew Barnes <mbarnes redhat com>
Date: Thu May 5 18:28:41 2011 -0400
mail-config.c: Don't try to rename obsolete config files.
mail/mail-config.c | 13 +++----------
1 files changed, 3 insertions(+), 10 deletions(-)
---
diff --git a/mail/mail-config.c b/mail/mail-config.c
index eb359bd..02d6f68 100644
--- a/mail/mail-config.c
+++ b/mail/mail-config.c
@@ -227,11 +227,7 @@ uri_to_evname (const gchar *uri, const gchar *prefix)
safe = g_strdup (uri);
e_filename_make_safe (safe);
- /* blah, easiest thing to do */
- if (prefix[0] == '*')
- tmp = g_strdup_printf ("%s/%s%s.xml", data_dir, prefix + 1, safe);
- else
- tmp = g_strdup_printf ("%s/%s%s", data_dir, prefix, safe);
+ tmp = g_strdup_printf ("%s/%s%s.xml", data_dir, prefix, safe);
g_free (safe);
return tmp;
@@ -364,11 +360,8 @@ folder_renamed_cb (MailFolderCache *cache,
gint i;
const gchar *cachenames[] = {
- "config/hidestate-",
- "config/et-expanded-",
- "config/et-header-",
- "*views/current_view-",
- "*views/custom_view-",
+ "views/current_view-",
+ "views/custom_view-",
NULL };
class = CAMEL_STORE_GET_CLASS (store);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]