diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-05-04 07:24:58 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-05-04 07:27:07 +0800 |
commit | 324a7da5d7c9af29f18431b197f2caa3a0d40ec6 (patch) | |
tree | 6b27e4eeb486f021cceed3f198038012edb20a02 /mail/e-mail-paned-view.c | |
parent | 99680d557b5763ae01e1a674ce8f3810936cd2c7 (diff) | |
download | gsoc2013-evolution-324a7da5d7c9af29f18431b197f2caa3a0d40ec6.tar.gz gsoc2013-evolution-324a7da5d7c9af29f18431b197f2caa3a0d40ec6.tar.zst gsoc2013-evolution-324a7da5d7c9af29f18431b197f2caa3a0d40ec6.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.c | 5 |
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); |