aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-06-29 03:15:59 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-06-29 03:15:59 +0800
commit98ff5f54883630163cccf6f2edcd48716b7f2445 (patch)
treee9b43467b3d849c87231cd1f78142efb2bd850f1
parent5dc39da9dab5b27ba4ef61d796bb6a5394addbb8 (diff)
downloadgsoc2013-evolution-98ff5f54883630163cccf6f2edcd48716b7f2445.tar
gsoc2013-evolution-98ff5f54883630163cccf6f2edcd48716b7f2445.tar.gz
gsoc2013-evolution-98ff5f54883630163cccf6f2edcd48716b7f2445.tar.bz2
gsoc2013-evolution-98ff5f54883630163cccf6f2edcd48716b7f2445.tar.lz
gsoc2013-evolution-98ff5f54883630163cccf6f2edcd48716b7f2445.tar.xz
gsoc2013-evolution-98ff5f54883630163cccf6f2edcd48716b7f2445.tar.zst
gsoc2013-evolution-98ff5f54883630163cccf6f2edcd48716b7f2445.zip
(impl_Storage_updateFolder): Don't stop
notifying the listeners if ::notifyFolderUpdated() fails. Should fix #25598. svn path=/trunk/; revision=17326
-rw-r--r--shell/ChangeLog6
-rw-r--r--shell/evolution-storage.c20
2 files changed, 12 insertions, 14 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index dcc9b566c0..be087166e9 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,5 +1,11 @@
2002-06-28 Ettore Perazzoli <ettore@ximian.com>
+ * evolution-storage.c (impl_Storage_updateFolder): Don't stop
+ notifying the listeners if ::notifyFolderUpdated() fails. Should
+ fix #25598.
+
+2002-06-28 Ettore Perazzoli <ettore@ximian.com>
+
[Fix #10681, Incorrect behavior when deleting a hierarchy of local
folders.]
diff --git a/shell/evolution-storage.c b/shell/evolution-storage.c
index 2548ed2d35..6648f61434 100644
--- a/shell/evolution-storage.c
+++ b/shell/evolution-storage.c
@@ -406,26 +406,18 @@ impl_Storage_updateFolder (PortableServer_Servant servant,
if (priv->corba_storage_listeners == NULL)
return;
- CORBA_exception_init (ev);
-
for (p = priv->corba_storage_listeners; p != NULL; p = p->next) {
GNOME_Evolution_StorageListener listener;
+ CORBA_Environment my_ev;
- listener = p->data;
- GNOME_Evolution_StorageListener_notifyFolderUpdated (listener,
- path,
- unread_count,
- ev);
-
- if (ev->_major != CORBA_NO_EXCEPTION)
- continue;
+ CORBA_exception_init (&my_ev);
- /* FIXME: Handle errors */
+ listener = p->data;
+ GNOME_Evolution_StorageListener_notifyFolderUpdated (listener, path,
+ unread_count, &my_ev);
- break;
+ CORBA_exception_free (&my_ev);
}
-
- CORBA_exception_free (ev);
}
static void