aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-week-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-week-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-week-view.c')
-rw-r--r--calendar/gui/e-week-view.c48
1 files changed, 24 insertions, 24 deletions
diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c
index 85434e2099..8e687eae53 100644
--- a/calendar/gui/e-week-view.c
+++ b/calendar/gui/e-week-view.c
@@ -3411,60 +3411,60 @@ enum {
static EPopupMenu main_items [] = {
{ N_("New _Appointment..."), NULL,
- e_week_view_on_new_appointment, NULL, 0 },
+ e_week_view_on_new_appointment, NULL, NULL, 0 },
{ N_("New All Day _Event"), NULL,
- e_week_view_on_new_event, NULL, 0 },
+ e_week_view_on_new_event, NULL, NULL, 0 },
- { "", NULL, NULL, NULL, 0 },
+ E_POPUP_SEPARATOR,
{ N_("_Paste"), NULL,
- e_week_view_on_paste, NULL, 0 },
-
- { "", NULL, NULL, NULL, 0 },
+ e_week_view_on_paste, NULL, NULL, 0 },
+ E_POPUP_SEPARATOR,
+
{ N_("Go to _Today"), NULL,
- e_week_view_on_goto_today, NULL, 0 },
+ e_week_view_on_goto_today, NULL, NULL, 0 },
{ N_("_Go to Date..."), NULL,
- e_week_view_on_goto_date, NULL, 0 },
- { NULL, NULL, NULL, NULL, 0 }
+ e_week_view_on_goto_date, NULL, NULL, 0 },
+
+ E_POPUP_TERMINATOR
};
static EPopupMenu child_items [] = {
{ N_("_Open"), NULL,
- e_week_view_on_edit_appointment, NULL, MASK_EDITABLE | MASK_EDITING },
+ e_week_view_on_edit_appointment, NULL, NULL, MASK_EDITABLE | MASK_EDITING },
{ N_("_Delete this Appointment"), NULL,
- e_week_view_on_delete_appointment, NULL, MASK_EDITABLE | MASK_SINGLE | MASK_EDITING },
+ e_week_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_week_view_on_cut, NULL, MASK_EDITING | MASK_EDITABLE },
+ e_week_view_on_cut, NULL, NULL, MASK_EDITING | MASK_EDITABLE },
{ N_("_Copy"), NULL,
- e_week_view_on_copy, NULL, MASK_EDITING | MASK_EDITABLE },
+ e_week_view_on_copy, NULL, NULL, MASK_EDITING | MASK_EDITABLE },
{ N_("_Paste"), NULL,
- e_week_view_on_paste, NULL, 0 },
+ e_week_view_on_paste, NULL, NULL, 0 },
- { "", NULL, NULL, NULL, 0},
+ E_POPUP_SEPARATOR,
{ N_("New _Appointment..."), NULL,
- e_week_view_on_new_appointment, NULL, 0 },
+ e_week_view_on_new_appointment, NULL, NULL, 0 },
- { "", NULL, NULL, NULL, MASK_SINGLE },
+ { "", NULL, NULL, NULL, NULL, MASK_SINGLE },
/*
* The following are only shown if this is a recurring event
*/
- { "", NULL, NULL, NULL, MASK_SINGLE},
+ { "", NULL, NULL, NULL, NULL, MASK_SINGLE },
{ N_("Make this Occurrence _Movable"), NULL,
- e_week_view_on_unrecur_appointment, NULL, MASK_RECURRING | MASK_EDITING },
+ e_week_view_on_unrecur_appointment, NULL, NULL, MASK_RECURRING | MASK_EDITING },
{ N_("Delete this _Occurrence"), NULL,
- e_week_view_on_delete_occurrence, NULL, MASK_RECURRING | MASK_EDITING },
+ e_week_view_on_delete_occurrence, NULL, NULL, MASK_RECURRING | MASK_EDITING },
{ N_("Delete _All Occurrences"), NULL,
- e_week_view_on_delete_appointment, NULL, MASK_RECURRING | MASK_EDITING },
+ e_week_view_on_delete_appointment, NULL, NULL, MASK_RECURRING | MASK_EDITING },
- { NULL, NULL, NULL, NULL, 0 }
+ E_POPUP_TERMINATOR
};
void