aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution/ChangeLog
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-02-02 04:32:08 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-02-02 04:32:08 +0800
commit8d91d3461106080ebaefe3f7bac563a1ebecc310 (patch)
tree94370aead37a48733e1e50c6a562e2a2f0782473 /my-evolution/ChangeLog
parent8555a05de522d9b185db2f2884b6806fe0d44cf6 (diff)
downloadgsoc2013-evolution-8d91d3461106080ebaefe3f7bac563a1ebecc310.tar
gsoc2013-evolution-8d91d3461106080ebaefe3f7bac563a1ebecc310.tar.gz
gsoc2013-evolution-8d91d3461106080ebaefe3f7bac563a1ebecc310.tar.bz2
gsoc2013-evolution-8d91d3461106080ebaefe3f7bac563a1ebecc310.tar.lz
gsoc2013-evolution-8d91d3461106080ebaefe3f7bac563a1ebecc310.tar.xz
gsoc2013-evolution-8d91d3461106080ebaefe3f7bac563a1ebecc310.tar.zst
gsoc2013-evolution-8d91d3461106080ebaefe3f7bac563a1ebecc310.zip
[Fix a crash that can happen if you have opened multiple views of
the summary and try to go off-line. This is not the correct fix, as the code should really be changed to only use one set of connections for all the views, instead of binding the connections to the view.] * e-summary-factory.c (e_summary_factory_new_control): Call `e_summary_offline_handler_add_summary()' instead of e_summary_offline_handler_set_summary()'. * e-summary-offline-handler.c: Replace member `summary' with `summaries' in the ESummaryOfflineHandlerPriv. This way, instead of assuming that there is only one summary, we keep a list of the summaries. (impl_destroy): Free ->summaries. (e_summary_offline_handler_set_summary): Removed. (e_summary_offline_handler_add_summary): New. Add the summary to ->summaries. Also, connect to the ::destroy handler so we can bookkeep them correctly. (create_connection_list): Made private from e_summary_offline_handler_create_connection_list(). Get a GSList instead of just one summary, and sum up all the connections from it. (impl_prepareForOffline): Use it. (impl__get_isOffline): Return %FALSE if any of the summaries are online, %TRUE otherwise. (impl_goOffline): Call ::set_online on all the summaries. Pass CORBA_OBJECT_NIL for the progress_listener as it doesn't really get used anyways. (impl_goOnline): Likewise. Pass CORBA_OBJECT_NIL, not NULL, for the progress CORBA_Object pointer. svn path=/trunk/; revision=15547
Diffstat (limited to 'my-evolution/ChangeLog')
-rw-r--r--my-evolution/ChangeLog34
1 files changed, 34 insertions, 0 deletions
diff --git a/my-evolution/ChangeLog b/my-evolution/ChangeLog
index 3cf2738e72..283a974ce0 100644
--- a/my-evolution/ChangeLog
+++ b/my-evolution/ChangeLog
@@ -1,3 +1,37 @@
+2002-02-01 Ettore Perazzoli <ettore@ximian.com>
+
+ [Fix a crash that can happen if you have opened multiple views of
+ the summary and try to go off-line. This is not the correct fix,
+ as the code should really be changed to only use one set of
+ connections for all the views, instead of binding the connections
+ to the view.]
+
+ * e-summary-factory.c (e_summary_factory_new_control): Call
+ `e_summary_offline_handler_add_summary()' instead of
+ e_summary_offline_handler_set_summary()'.
+
+ * e-summary-offline-handler.c: Replace member `summary' with
+ `summaries' in the ESummaryOfflineHandlerPriv. This way, instead
+ of assuming that there is only one summary, we keep a list of the
+ summaries.
+ (impl_destroy): Free ->summaries.
+ (e_summary_offline_handler_set_summary): Removed.
+ (e_summary_offline_handler_add_summary): New. Add the summary to
+ ->summaries. Also, connect to the ::destroy handler so we can
+ bookkeep them correctly.
+ (create_connection_list): Made private from
+ e_summary_offline_handler_create_connection_list(). Get a GSList
+ instead of just one summary, and sum up all the connections from
+ it.
+ (impl_prepareForOffline): Use it.
+ (impl__get_isOffline): Return %FALSE if any of the summaries are
+ online, %TRUE otherwise.
+ (impl_goOffline): Call ::set_online on all the summaries. Pass
+ CORBA_OBJECT_NIL for the progress_listener as it doesn't really
+ get used anyways.
+ (impl_goOnline): Likewise. Pass CORBA_OBJECT_NIL, not NULL, for
+ the progress CORBA_Object pointer.
+
2002-01-24 Ettore Perazzoli <ettore@ximian.com>
* Makefile.am: Use EVOLUTION_EXECUTIVE_SUMMARY_CFLAGS and