aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution/e-summary-offline-handler.c
Commit message (Collapse)AuthorAgeFilesLines
* Allocate the ConnectionList list with the right number of entries insteadEttore Perazzoli2002-02-021-2/+3
| | | | | | | | * e-summary-offline-handler.c (create_connection_list): Allocate the ConnectionList list with the right number of entries instead of zero. svn path=/trunk/; revision=15552
* [Fix a crash that can happen if you have opened multiple views ofEttore Perazzoli2002-02-021-37/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Use soup to transfer HTTP files and other bugs fixedIain Holmes2002-01-171-0/+5
| | | | svn path=/trunk/; revision=15344
* Merging patches from 1-0-branchIain Holmes2001-12-171-6/+16
| | | | svn path=/trunk/; revision=15109
* Fixing the license text.Ettore Perazzoli2001-10-281-1/+0
| | | | svn path=/trunk/; revision=14212
* Update the licensing information to require version 2 of the GPLEttore Perazzoli2001-10-271-2/+2
| | | | | | (instead of version 2 or any later version). svn path=/trunk/; revision=14190
* NULL the handle after a failed open so the offline handler won't thinkIain Holmes2001-10-271-7/+8
| | | | | | | | | | | | | | | | | | | 2001-10-26 Iain Holmes <iain@ximian.com> * e-summary-rdf.c (open_callback): NULL the handle after a failed open so the offline handler won't think they're still open. (e_summary_rdf_set_online): Cancel all the open connections when the summary goes offline. * e-summary-weather.c (open_callback): NULL the handle after a failed open so the offline handler won't think they're still open. (e_summary_weather_set_online): Cancel all the open connections when the summary goes offline. * e-summary.c (e_summary_set_online): Call the callback if it's not NULL. svn path=/trunk/; revision=14183
* Add copyright noticesIain Holmes2001-09-271-6/+22
| | | | svn path=/trunk/; revision=13157
* Fix the show_full_path bugIain Holmes2001-08-231-7/+8
| | | | | | Set up the functions for better online/offline reporting. svn path=/trunk/; revision=12403
* Handle the online/offline stuffIain Holmes2001-07-011-0/+219
svn path=/trunk/; revision=10639