diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-05-06 06:28:41 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:42:10 +0800 |
commit | 8eebc3932b6940eeb19e10e3df1164c44626737c (patch) | |
tree | c04beac4bd6df74ee55837511188fa36cc005989 /mail | |
parent | 3b05e9099c5edc98631298fab9bdc98c77c1b4f3 (diff) | |
download | gsoc2013-evolution-8eebc3932b6940eeb19e10e3df1164c44626737c.tar.gz gsoc2013-evolution-8eebc3932b6940eeb19e10e3df1164c44626737c.tar.zst gsoc2013-evolution-8eebc3932b6940eeb19e10e3df1164c44626737c.zip |
mail-config.c: Don't try to rename obsolete config files.
Diffstat (limited to 'mail')
-rw-r--r-- | 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 eb359bd6ec..02d6f68cfe 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); |