aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/delete-comp.h
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@ximian.com>2001-05-19 11:05:25 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2001-05-19 11:05:25 +0800
commit98c32c5c1150085a7073ba258ad2cd362abf53fb (patch)
tree1dcabf0df22a6371504174c95101a95dad85d638 /calendar/gui/dialogs/delete-comp.h
parent0289b860358dfe5bc1e189f910e347b54b8ab451 (diff)
downloadgsoc2013-evolution-98c32c5c1150085a7073ba258ad2cd362abf53fb.tar
gsoc2013-evolution-98c32c5c1150085a7073ba258ad2cd362abf53fb.tar.gz
gsoc2013-evolution-98c32c5c1150085a7073ba258ad2cd362abf53fb.tar.bz2
gsoc2013-evolution-98c32c5c1150085a7073ba258ad2cd362abf53fb.tar.lz
gsoc2013-evolution-98c32c5c1150085a7073ba258ad2cd362abf53fb.tar.xz
gsoc2013-evolution-98c32c5c1150085a7073ba258ad2cd362abf53fb.tar.zst
gsoc2013-evolution-98c32c5c1150085a7073ba258ad2cd362abf53fb.zip
Fix bug #2829.
2001-05-18 Federico Mena Quintero <federico@ximian.com> Fix bug #2829. * gui/dialogs/delete-comp.c (delete_component_dialog): Allow the caller to specify whether just one or many components are to be deleted. * gui/e-calendar-table.c (tasks_popup_one): Popup menu definition for when one and only one task is selected. (tasks_popup_many): Likewise, for more than one task. (e_calendar_table_on_right_click): Do not create a structure for the closure data; we can simply pass the cal_table. Use a different menu depending on the number of selected tasks. (mark_as_complete_cb): Renamed; now iterates over the selected rows. (delete_selected_components): New function to delete all the selected components. (delete_cb): Adjusted for delete_component_dialog(). (open_task): New function, simply open a CalComponent in the task editor. (open_task_by_row): Renamed; use open_task(). * gui/e-week-view.c (e_week_view_on_delete_appointment): Updated for delete_component_dialog(). * gui/e-day-view.c (e_day_view_on_delete_appointment): Likewise. svn path=/trunk/; revision=9886
Diffstat (limited to 'calendar/gui/dialogs/delete-comp.h')
-rw-r--r--calendar/gui/dialogs/delete-comp.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/calendar/gui/dialogs/delete-comp.h b/calendar/gui/dialogs/delete-comp.h
index d7243e75c4..3b728a3f7e 100644
--- a/calendar/gui/dialogs/delete-comp.h
+++ b/calendar/gui/dialogs/delete-comp.h
@@ -1,7 +1,6 @@
/* Evolution calendar - Delete calendar component dialog
*
- * Copyright (C) 2000 Helix Code, Inc.
- * Copyright (C) 2000 Ximian, Inc.
+ * Copyright (C) 2001 Ximian, Inc.
*
* Author: Federico Mena-Quintero <federico@ximian.com>
*
@@ -26,6 +25,8 @@
#include <gtk/gtkwidget.h>
#include <cal-util/cal-component.h>
-gboolean delete_component_dialog (CalComponent *comp, GtkWidget *widget);
+gboolean delete_component_dialog (CalComponent *comp,
+ int n_comps, CalComponentVType vtype,
+ GtkWidget *widget);
#endif