evolution/bnc-435668-hide-accept.patch
Vincent Untz c4faf3231f Accepting request 27636 from home:vuntz:branches:GNOME:Factory
Copy from home:vuntz:branches:GNOME:Factory/evolution via accept of submit request 27636 revision 4.
Request was accepted with message:
accept

OBS-URL: https://build.opensuse.org/request/show/27636
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/evolution?expand=0&rev=55
2009-12-24 19:31:48 +00:00

20 lines
686 B
Diff

Index: plugins/itip-formatter/itip-formatter.c
===================================================================
--- plugins/itip-formatter/itip-formatter.c.orig
+++ plugins/itip-formatter/itip-formatter.c
@@ -2115,6 +2115,14 @@ in_proper_folder (CamelFolder *folder)
if (!folder)
return res;
+
+ /*FIXME Currently there is no other way to identify if its a sent items
+ folder, so we just compare the folder name */
+ if (!g_ascii_strcasecmp (folder->name, _("Sent")) ||
+ !g_ascii_strcasecmp (folder->name, _("Sent Items")))
+ return FALSE;
+
+
uri = mail_tools_folder_to_url (folder);
if (mail_folder_cache_get_folder_info_flags (mail_folder_cache_get_default (),