diff options
author | Federico Mena Quintero <federico@ximian.com> | 2001-09-19 04:56:38 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2001-09-19 04:56:38 +0800 |
commit | 54141f67b759d3533605a06305ead06d1d3ec4f7 (patch) | |
tree | b8793851ff338d1e79e1bfa98ca4c5623e4caeed /calendar/gui/calendar-config.h | |
parent | cc2f35f2b15566cbd90f673ec2f7d3caa017a988 (diff) | |
download | gsoc2013-evolution-54141f67b759d3533605a06305ead06d1d3ec4f7.tar.gz gsoc2013-evolution-54141f67b759d3533605a06305ead06d1d3ec4f7.tar.zst gsoc2013-evolution-54141f67b759d3533605a06305ead06d1d3ec4f7.zip |
Fixes bug #2830.
2001-09-18 Federico Mena Quintero <federico@ximian.com>
Fixes bug #2830.
* gui/calendar-config.c (calendar_config_get_confirm_delete): New
function.
(calendar_config_set_confirm_delete): New function.
(config_read): Get the default value for the ConfirmDelete option.
(calendar_config_write): Set the value of ConfirmDelete.
* gui/dialogs/delete-comp.c (delete_component_dialog): Handle the
configuration option for confirmation.
* gui/dialogs/cal-prefs-dialog.c (CalPrefsDialogPrivate): Added
the fields for the Other page.
(get_widgets): Handle the new widgets.
(cal_prefs_dialog_show_config): Likewise.
(cal_prefs_dialog_update_config): Likewise.
svn path=/trunk/; revision=12953
Diffstat (limited to 'calendar/gui/calendar-config.h')
-rw-r--r-- | calendar/gui/calendar-config.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/calendar/gui/calendar-config.h b/calendar/gui/calendar-config.h index d579cd8190..dac55611d1 100644 --- a/calendar/gui/calendar-config.h +++ b/calendar/gui/calendar-config.h @@ -148,6 +148,10 @@ void calendar_config_set_hide_completed_tasks_units(CalUnits units); gint calendar_config_get_hide_completed_tasks_value(void); void calendar_config_set_hide_completed_tasks_value(gint value); +/* Confirmation options */ +gboolean calendar_config_get_confirm_delete (void); +void calendar_config_set_confirm_delete (gboolean confirm); + /* Convenience functions to configure common properties of ECalendar, EDateEdit & ECalendarTable widgets, and the ECellDateEdit ETable cell. */ |