Commit 8eebc393 authored by Matthew Barnes's avatar Matthew Barnes Committed by Rodrigo Moya

mail-config.c: Don't try to rename obsolete config files.

parent 3b05e909
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment