2002-02-14 Radek Doulik <rodo@ximian.com>
* e-summary-tasks.c (sort_uids): fix case when priority is
undefined and pri_a or pri_b is returned as NULL, also fixes
memory leak
svn path=/trunk/; revision=15727
2002-02-08 Damon Chaplin <damon@ximian.com>
* e-summary-calendar.c (e_cal_comp_util_compare_event_timezones):
updated to new version from calendar/gui/comp-util.c
svn path=/trunk/; revision=15631
* 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
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
2001-10-29 Rodrigo Moya <rodrigo@ximian.com>
* e-summary-calendar.c (e_summary_calendar_init): retrieve the
default URI for calendars from the configuration instead of
hard-coding it
* e-summary-tasks.c (e_summary_tasks_init): likewise for tasks
svn path=/trunk/; revision=14352
* e-summary-preferences.c (make_initial_weather_list): We only
want KBOS by default.
* e-summary-weather.c (e_summary_weather_init): We only want KBOS
by default.
svn path=/trunk/; revision=14351
2001-10-27 Jon Trowbridge <trow@ximian.com>
* e-summary.c (e_summary_reload): Slow down reload requests
to work around a bug in gnome-vfs. Ugly, but it works.
(Bug #12956)
svn path=/trunk/; revision=14239
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
2001-10-25 Jon Trowbridge <trow@ximian.com>
* e-summary-tasks.c (sort_uids): It is possible for
start_foo.value to be NULL after a cal to
cal_component_get_dtstart, so we need to check for this before
dereferencing it. (Bug #13259)
svn path=/trunk/; revision=14097
2001-10-22 Damon Chaplin <damon@ximian.com>
* e-summary-tasks.c (generate_html): set the default timezone on the
server.
* e-summary-calendar.c (e_cal_comp_util_compare_event_timezones):
update to check for DATE values.
(uids_to_array): pass the default timezone
to cal_recur_generate_instances.
(generate_html): set the default timezone on the server.
svn path=/trunk/; revision=13921
* e-summary-calendar.c (generate_html): Made temporary buffer for
strftime much bigger (it was too small for Polish month names), added
missing colon and conversion to UTF-8.
svn path=/trunk/; revision=13669
2001-10-01 Damon Chaplin <damon@ximian.com>
* e-summary-calendar.c (generate_html): used time_add_day/week/month
_with_zone() functions rather than the old versions.
* e-summary.c (alarm_fn): use time_day_end_with_zone ().
* e-summary-tasks.c (generate_html): removed day_begin and day_end
since they aren't used, and the calls to time_day_begin/end().
svn path=/trunk/; revision=13365
2001-10-02 Rodrigo Moya <rodrigo@ximian.com>
* Makefile.am: add $(BONOBO_GNOME_CFLAGS) to make it compile with
latest Bonobo, which does not install headers in
$(gnome_prefix)/include
svn path=/trunk/; revision=13304