diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-05-04 02:07:50 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:42:06 +0800 |
commit | b73fe7218fedc76c1f5860c02315eac957669167 (patch) | |
tree | 6f339a60996440986d447bca07c58cd623144457 /mail/e-mail-reader.c | |
parent | 839b17d1fd5265f0dd32e63be2b9146466266757 (diff) | |
download | gsoc2013-evolution-b73fe7218fedc76c1f5860c02315eac957669167.tar.gz gsoc2013-evolution-b73fe7218fedc76c1f5860c02315eac957669167.tar.zst gsoc2013-evolution-b73fe7218fedc76c1f5860c02315eac957669167.zip |
Build vfolder rules with CamelFolders instead of folder URIs.
Diffstat (limited to 'mail/e-mail-reader.c')
-rw-r--r-- | mail/e-mail-reader.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mail/e-mail-reader.c b/mail/e-mail-reader.c index ad596bba26..21d5341de2 100644 --- a/mail/e-mail-reader.c +++ b/mail/e-mail-reader.c @@ -1798,13 +1798,13 @@ action_search_folder_recipient_cb (GtkAction *action, EMailSession *session; EMFormatHTML *formatter; EWebView *web_view; + CamelFolder *folder; CamelURL *curl; - const gchar *folder_uri; const gchar *uri; /* This action is defined in EMailDisplay. */ - folder_uri = e_mail_reader_get_folder_uri (reader); + folder = e_mail_reader_get_folder (reader); formatter = e_mail_reader_get_formatter (reader); web_view = em_format_html_get_web_view (formatter); @@ -1824,7 +1824,7 @@ action_search_folder_recipient_cb (GtkAction *action, inet_addr = camel_internet_address_new (); camel_address_decode (CAMEL_ADDRESS (inet_addr), curl->path); vfolder_gui_add_from_address ( - session, inet_addr, AUTO_TO, folder_uri); + session, inet_addr, AUTO_TO, folder); g_object_unref (inet_addr); } @@ -1839,13 +1839,13 @@ action_search_folder_sender_cb (GtkAction *action, EMailSession *session; EMFormatHTML *formatter; EWebView *web_view; + CamelFolder *folder; CamelURL *curl; - const gchar *folder_uri; const gchar *uri; /* This action is defined in EMailDisplay. */ - folder_uri = e_mail_reader_get_folder_uri (reader); + folder = e_mail_reader_get_folder (reader); formatter = e_mail_reader_get_formatter (reader); web_view = em_format_html_get_web_view (formatter); @@ -1865,7 +1865,7 @@ action_search_folder_sender_cb (GtkAction *action, inet_addr = camel_internet_address_new (); camel_address_decode (CAMEL_ADDRESS (inet_addr), curl->path); vfolder_gui_add_from_address ( - session, inet_addr, AUTO_FROM, folder_uri); + session, inet_addr, AUTO_FROM, folder); g_object_unref (inet_addr); } |