[evolution/wip/gsettings] mail-config.c: Don't try to rename obsolete config files.
- From: Rodrigo Moya <rodrigo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/gsettings] mail-config.c: Don't try to rename obsolete config files.
- Date: Wed, 29 Jun 2011 17:36:47 +0000 (UTC)
commit 8eebc3932b6940eeb19e10e3df1164c44626737c
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]