From 98ff5f54883630163cccf6f2edcd48716b7f2445 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Fri, 28 Jun 2002 19:15:59 +0000 Subject: (impl_Storage_updateFolder): Don't stop notifying the listeners if ::notifyFolderUpdated() fails. Should fix #25598. svn path=/trunk/; revision=17326 --- shell/ChangeLog | 6 ++++++ shell/evolution-storage.c | 20 ++++++-------------- 2 files changed, 12 insertions(+), 14 deletions(-) (limited to 'shell') diff --git a/shell/ChangeLog b/shell/ChangeLog index dcc9b566c0..be087166e9 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,9 @@ +2002-06-28 Ettore Perazzoli + + * evolution-storage.c (impl_Storage_updateFolder): Don't stop + notifying the listeners if ::notifyFolderUpdated() fails. Should + fix #25598. + 2002-06-28 Ettore Perazzoli [Fix #10681, Incorrect behavior when deleting a hierarchy of local 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 -- cgit v1.2.3