diff options
author | Milan Crha <mcrha@redhat.com> | 2009-04-27 18:07:09 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2009-04-27 18:07:09 +0800 |
commit | b29f1ed5e653974acf983f211901139d0f76cf12 (patch) | |
tree | 2ce4ece0fe5dd73586a896ecf0d16e2be2f1c6ac /calendar/gui/e-cal-component-preview.c | |
parent | c8938bd337a03f1d4221cabfff76add54af9aa76 (diff) | |
download | gsoc2013-evolution-b29f1ed5e653974acf983f211901139d0f76cf12.tar.gz gsoc2013-evolution-b29f1ed5e653974acf983f211901139d0f76cf12.tar.zst gsoc2013-evolution-b29f1ed5e653974acf983f211901139d0f76cf12.zip |
Allow Last Modified and Created columns for event table
** Fix for bug #575773
* gui/e-calendar-table.etspec:
* gui/e-cal-list-view.etspec:
* gui/e-memo-table.etspec:
* gui/e-cal-model.h: (ECalModelField), (struct _ECalModelComponent):
* gui/e-cal-model.c: (get_datetime_from_utc), (ecm_value_at),
(ecm_duplicate_value), (ecm_free_value), (ecm_initialize_value),
(ecm_value_is_empty), (ecm_value_to_string),
(e_cal_view_objects_modified_cb), (e_cal_model_component_finalize),
(e_cal_model_component_init):
Allow showing CREATED and LAST-MODIFIED properties in a table.
* gui/print.c: (print_comp_draw_real):
* gui/e-cal-component-preview.c: (write_html):
* conduits/todo/todo-conduit.c: (local_record_from_comp):
Possible leak fix.
Diffstat (limited to 'calendar/gui/e-cal-component-preview.c')
-rw-r--r-- | calendar/gui/e-cal-component-preview.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/calendar/gui/e-cal-component-preview.c b/calendar/gui/e-cal-component-preview.c index 221ae36753..0c759a1591 100644 --- a/calendar/gui/e-cal-component-preview.c +++ b/calendar/gui/e-cal-component-preview.c @@ -272,9 +272,11 @@ write_html (GtkHTMLStream *stream, ECal *ecal, ECalComponent *comp, icaltimezone gtk_html_stream_printf (stream, "<TD>%s</TD></TR>", str); g_free (str); - e_cal_component_free_priority (priority_value); } + if (priority_value) + e_cal_component_free_priority (priority_value); + /* write description and URL */ gtk_html_stream_printf (stream, "<TR><TD COLSPAN=\"2\"><HR></TD></TR>"); |