diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2002-06-29 03:15:59 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2002-06-29 03:15:59 +0800 |
commit | 98ff5f54883630163cccf6f2edcd48716b7f2445 (patch) | |
tree | e9b43467b3d849c87231cd1f78142efb2bd850f1 /shell | |
parent | 5dc39da9dab5b27ba4ef61d796bb6a5394addbb8 (diff) | |
download | gsoc2013-evolution-98ff5f54883630163cccf6f2edcd48716b7f2445.tar.gz 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
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ChangeLog | 6 | ||||
-rw-r--r-- | shell/evolution-storage.c | 20 |
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 |