aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-03-16 10:19:47 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-03-16 10:19:47 +0800
commite91db1e5a1c13a703dd7035b9b2383f2e3820fca (patch)
tree8fb4eb82871efb1647d1d58579b4add32792d676 /calendar/gui/e-day-view.c
parent0709fc318feae5c38cf678916d54450eff7975c0 (diff)
downloadgsoc2013-evolution-e91db1e5a1c13a703dd7035b9b2383f2e3820fca.tar.gz
gsoc2013-evolution-e91db1e5a1c13a703dd7035b9b2383f2e3820fca.tar.zst
gsoc2013-evolution-e91db1e5a1c13a703dd7035b9b2383f2e3820fca.zip
Updated to use new EPopupMenu API.
2002-03-15 Jeffrey Stedfast <fejj@ximian.com> * gui/e-day-view.c: Updated to use new EPopupMenu API. * gui/e-week-view.c: Updated to use new EPopupMenu API. * gui/e-calendar-table.c: Updated to use new EPopupMenu API. svn path=/trunk/; revision=16184
Diffstat (limited to 'calendar/gui/e-day-view.c')
-rw-r--r--calendar/gui/e-day-view.c38
1 files changed, 19 insertions, 19 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c
index 986096bdfc..cde934845a 100644
--- a/calendar/gui/e-day-view.c
+++ b/calendar/gui/e-day-view.c
@@ -3523,55 +3523,55 @@ enum {
static EPopupMenu main_items [] = {
{ N_("New _Appointment"), NULL,
- e_day_view_on_new_appointment, NULL, 0 },
+ e_day_view_on_new_appointment, NULL, NULL, 0 },
{ N_("New All Day _Event"), NULL,
- e_day_view_on_new_event, NULL, 0 },
+ e_day_view_on_new_event, NULL, NULL, 0 },
- { "", NULL, NULL, NULL, 0 },
+ E_POPUP_SEPARATOR,
{ N_("_Paste"), NULL,
- e_day_view_on_paste, NULL, 0 },
+ e_day_view_on_paste, NULL, NULL, 0 },
- { "", NULL, NULL, NULL, 0 },
+ E_POPUP_SEPARATOR,
{ N_("Go to _Today"), NULL,
- e_day_view_on_goto_today, NULL, 0 },
+ e_day_view_on_goto_today, NULL, NULL, 0 },
{ N_("_Go to Date..."), NULL,
- e_day_view_on_goto_date, NULL, 0 },
+ e_day_view_on_goto_date, NULL, NULL, 0 },
- { NULL, NULL, NULL, NULL, 0 }
+ E_POPUP_TERMINATOR
};
static EPopupMenu child_items [] = {
{ N_("_Open"), NULL,
- e_day_view_on_edit_appointment, NULL, MASK_EDITABLE | MASK_EDITING },
+ e_day_view_on_edit_appointment, NULL, NULL, MASK_EDITABLE | MASK_EDITING },
{ N_("_Delete this Appointment"), NULL,
- e_day_view_on_delete_appointment, NULL, MASK_EDITABLE | MASK_SINGLE | MASK_EDITING },
+ e_day_view_on_delete_appointment, NULL, NULL, MASK_EDITABLE | MASK_SINGLE | MASK_EDITING },
/* Only show this separator if one of the above is shown. */
- { "", NULL, NULL, NULL, MASK_EDITABLE | MASK_EDITING },
+ { "", NULL, NULL, NULL, NULL, MASK_EDITABLE | MASK_EDITING },
{ N_("C_ut"), NULL,
- e_day_view_on_cut, NULL, MASK_EDITABLE | MASK_EDITING },
+ e_day_view_on_cut, NULL, NULL, MASK_EDITABLE | MASK_EDITING },
{ N_("_Copy"), NULL,
- e_day_view_on_copy, NULL, 0 },
+ e_day_view_on_copy, NULL, NULL, 0 },
{ N_("_Paste"), NULL,
- e_day_view_on_paste, NULL, 0 },
+ e_day_view_on_paste, NULL, NULL, 0 },
/*
* The following are only shown if this is a recurring event
*/
- { "", NULL, NULL, NULL, MASK_RECURRING | MASK_EDITING },
+ { "", NULL, NULL, NULL, NULL, MASK_RECURRING | MASK_EDITING },
{ N_("Make this Occurrence _Movable"), NULL,
- e_day_view_on_unrecur_appointment, NULL, MASK_RECURRING | MASK_EDITING },
+ e_day_view_on_unrecur_appointment, NULL, NULL, MASK_RECURRING | MASK_EDITING },
{ N_("Delete this _Occurrence"), NULL,
- e_day_view_on_delete_occurrence, NULL, MASK_RECURRING | MASK_EDITING },
+ e_day_view_on_delete_occurrence, NULL, NULL, MASK_RECURRING | MASK_EDITING },
{ N_("Delete _All Occurrences"), NULL,
- e_day_view_on_delete_appointment, NULL, MASK_RECURRING | MASK_EDITING },
+ e_day_view_on_delete_appointment, NULL, NULL, MASK_RECURRING | MASK_EDITING },
- { NULL, NULL, NULL, NULL, 0 }
+ E_POPUP_TERMINATOR
};
static void