aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-paned-view.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-05-04 07:24:58 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:42:06 +0800
commitb59648863b0f48360e4015269e7991c6a8d4b213 (patch)
tree2c5a30670abcade8eb7ae23f00ba8650bee1bbe8 /mail/e-mail-paned-view.c
parentf4c914d057214acff9b2439e642202f7902531dc (diff)
downloadgsoc2013-evolution-b59648863b0f48360e4015269e7991c6a8d4b213.tar.gz
gsoc2013-evolution-b59648863b0f48360e4015269e7991c6a8d4b213.tar.zst
gsoc2013-evolution-b59648863b0f48360e4015269e7991c6a8d4b213.zip
Use e_mail_folder_uri_from_folder() instead of camel_folder_get_uri().
Diffstat (limited to 'mail/e-mail-paned-view.c')
-rw-r--r--mail/e-mail-paned-view.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/e-mail-paned-view.c b/mail/e-mail-paned-view.c
index ef099197cd..589b522603 100644
--- a/mail/e-mail-paned-view.c
+++ b/mail/e-mail-paned-view.c
@@ -479,8 +479,8 @@ mail_paned_view_set_folder (EMailReader *reader,
EMailReaderInterface *default_interface;
GtkWidget *message_list;
GKeyFile *key_file;
+ gchar *folder_uri;
gchar *group_name;
- const gchar *folder_uri;
const gchar *key;
gboolean value;
GError *error = NULL;
@@ -519,9 +519,10 @@ mail_paned_view_set_folder (EMailReader *reader,
/* Restore the folder's preview and threaded state. */
- folder_uri = camel_folder_get_uri (folder);
+ folder_uri = e_mail_folder_uri_from_folder (folder);
key_file = e_shell_view_get_state_key_file (shell_view);
group_name = g_strdup_printf ("Folder %s", folder_uri);
+ g_free (folder_uri);
key = STATE_KEY_GROUP_BY_THREADS;
value = g_key_file_get_boolean (key_file, group_name, key, &error);