aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorBharath Acharya <abharath@novell.com>2008-11-07 12:36:22 +0800
committerBharath Acharya <abharath@src.gnome.org>2008-11-07 12:36:22 +0800
commit4272acb80703d2227695b40fd74e0ec906a9ef5e (patch)
tree55bb1072588d4d231711835caa7286b0e6c7c89f /plugins
parenta87ba9760737d2bde595eb86273d2fd290c0cab0 (diff)
downloadgsoc2013-evolution-4272acb80703d2227695b40fd74e0ec906a9ef5e.tar
gsoc2013-evolution-4272acb80703d2227695b40fd74e0ec906a9ef5e.tar.gz
gsoc2013-evolution-4272acb80703d2227695b40fd74e0ec906a9ef5e.tar.bz2
gsoc2013-evolution-4272acb80703d2227695b40fd74e0ec906a9ef5e.tar.lz
gsoc2013-evolution-4272acb80703d2227695b40fd74e0ec906a9ef5e.tar.xz
gsoc2013-evolution-4272acb80703d2227695b40fd74e0ec906a9ef5e.tar.zst
gsoc2013-evolution-4272acb80703d2227695b40fd74e0ec906a9ef5e.zip
** Fix for bug #557246
2008-10-22 Bharath Acharya <abharath@novell.com> ** Fix for bug #557246 * exchange-folder.c: * (org_gnome_exchange_check_inbox_subscribed): Pop up the "Unsubscribe Folder" option only for the subscribed folders and not to the Other's folder hierarchy. svn path=/trunk/; revision=36748
Diffstat (limited to 'plugins')
-rw-r--r--plugins/exchange-operations/ChangeLog8
-rw-r--r--plugins/exchange-operations/exchange-folder.c2
2 files changed, 9 insertions, 1 deletions
diff --git a/plugins/exchange-operations/ChangeLog b/plugins/exchange-operations/ChangeLog
index 785857400a..0d526d6245 100644
--- a/plugins/exchange-operations/ChangeLog
+++ b/plugins/exchange-operations/ChangeLog
@@ -1,3 +1,11 @@
+2008-10-22 Bharath Acharya <abharath@novell.com>
+
+ ** Fix for bug #557246
+
+ * exchange-folder.c: (org_gnome_exchange_check_inbox_subscribed): Pop
+ up the "Unsubscribe Folder" option only for the subscribed folders and
+ not to the Other's folder hierarchy.
+
2008-10-08 Milan Crha <mcrha@redhat.com>
** Fix for bug #530606
diff --git a/plugins/exchange-operations/exchange-folder.c b/plugins/exchange-operations/exchange-folder.c
index 3f2dc421fc..b2b53d1bb3 100644
--- a/plugins/exchange-operations/exchange-folder.c
+++ b/plugins/exchange-operations/exchange-folder.c
@@ -223,7 +223,7 @@ org_gnome_exchange_check_inbox_subscribed (EPlugin *ep, EMPopupTargetFolder *tar
g_free (path);
- if (!sub_folder)
+ if (!sub_folder || !g_strrstr(sub_folder, "/"))
return;
for (i = 0; i < sizeof (popup_inbox_items) / sizeof (popup_inbox_items[0]); i++)