aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBharath Acharya <abharath@novell.com>2008-11-07 12:37:57 +0800
committerBharath Acharya <abharath@src.gnome.org>2008-11-07 12:37:57 +0800
commitc683b4e0e7d4fcabb7f2b55cc2332c94a85077e5 (patch)
treec39dbb6c1fc896f74e75f3b19a1e88498fabd593
parentc12c5913bd57557837b21b5637aafa88299c9338 (diff)
downloadgsoc2013-evolution-c683b4e0e7d4fcabb7f2b55cc2332c94a85077e5.tar
gsoc2013-evolution-c683b4e0e7d4fcabb7f2b55cc2332c94a85077e5.tar.gz
gsoc2013-evolution-c683b4e0e7d4fcabb7f2b55cc2332c94a85077e5.tar.bz2
gsoc2013-evolution-c683b4e0e7d4fcabb7f2b55cc2332c94a85077e5.tar.lz
gsoc2013-evolution-c683b4e0e7d4fcabb7f2b55cc2332c94a85077e5.tar.xz
gsoc2013-evolution-c683b4e0e7d4fcabb7f2b55cc2332c94a85077e5.tar.zst
gsoc2013-evolution-c683b4e0e7d4fcabb7f2b55cc2332c94a85077e5.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=/branches/gnome-2-24/; revision=36749
-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++)