From b59648863b0f48360e4015269e7991c6a8d4b213 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 3 May 2011 19:24:58 -0400 Subject: Use e_mail_folder_uri_from_folder() instead of camel_folder_get_uri(). --- mail/e-mail-paned-view.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'mail/e-mail-paned-view.c') 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); -- cgit