From 54634a1357884543f64d00aa135bf8bc9a525880 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Sat, 27 Oct 2001 22:13:20 +0000 Subject: Delete appointments with empty summaries. Fixes Ximian bug #780. 2001-10-27 Federico Mena Quintero * gui/e-day-view.c (e_day_view_on_editing_stopped): Delete appointments with empty summaries. Fixes Ximian bug #780. * gui/e-week-view.c (e_week_view_on_editing_stopped): Likewise. * gui/dialogs/delete-comp.c (delete_component_dialog): Added an argument to specify whether we unconditionally want single components to be considered as not having a summary. * gui/comp-util.c (cal_comp_confirm_delete_empty_comp): New function. * gui/misc.[ch]: New files with miscellaneous utility functions; moved string_is_empty() over from calendar-model.c. * gui/calendar-model.c: Use the string_is_empty() function from misc.c. * gui/Makefile.am (evolution_calendar_SOURCES): Added misc.[ch] to the list of sources. svn path=/trunk/; revision=14233 --- calendar/gui/dialogs/delete-comp.h | 1 + 1 file changed, 1 insertion(+) (limited to 'calendar/gui/dialogs/delete-comp.h') diff --git a/calendar/gui/dialogs/delete-comp.h b/calendar/gui/dialogs/delete-comp.h index 3c352a9bc8..64945b5bee 100644 --- a/calendar/gui/dialogs/delete-comp.h +++ b/calendar/gui/dialogs/delete-comp.h @@ -25,6 +25,7 @@ #include gboolean delete_component_dialog (CalComponent *comp, + gboolean consider_as_untitled, int n_comps, CalComponentVType vtype, GtkWidget *widget); -- cgit