diff options
Diffstat (limited to 'calendar/gui/e-day-view.c')
-rw-r--r-- | calendar/gui/e-day-view.c | 42 |
1 files changed, 23 insertions, 19 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c index 7f11e2d7b5..ca12b87176 100644 --- a/calendar/gui/e-day-view.c +++ b/calendar/gui/e-day-view.c @@ -3280,7 +3280,7 @@ e_day_view_on_event_double_click (EDayView *day_view, enum { /* - * This is used to "flag" events that can not be editted + * This is used to "flag" events that can not be edited */ MASK_EDITABLE = 1, @@ -3303,49 +3303,53 @@ enum { }; static EPopupMenu main_items [] = { - { N_("Paste"), NULL, - e_day_view_on_paste, NULL, 0 }, + { N_("New _Appointment"), NULL, + e_day_view_on_new_appointment, NULL, 0 }, + { N_("New All Day _Event"), NULL, + e_day_view_on_new_event, NULL, 0 }, { "", NULL, NULL, NULL, 0 }, - { N_("New Appointment"), NULL, - e_day_view_on_new_appointment, NULL, 0 }, - { N_("New All Day Event"), NULL, - e_day_view_on_new_event, NULL, 0 }, + { N_("_Paste"), NULL, + e_day_view_on_paste, NULL, 0 }, { "", NULL, NULL, NULL, 0 }, - { N_("Go to Today"), NULL, + { N_("Go to _Today"), NULL, e_day_view_on_goto_today, NULL, 0 }, - { N_("Go to Date..."), NULL, + { N_("_Go to Date..."), NULL, e_day_view_on_goto_date, NULL, 0 }, { NULL, NULL, NULL, NULL, 0 } }; static EPopupMenu child_items [] = { - { N_("Open"), NULL, + { N_("_Open"), NULL, e_day_view_on_edit_appointment, NULL, MASK_EDITABLE | MASK_EDITING }, - { N_("Delete this Appointment"), NULL, + { N_("_Delete this Appointment"), NULL, e_day_view_on_delete_appointment, NULL, MASK_EDITABLE | MASK_SINGLE | MASK_EDITING }, - { N_("Cut"), NULL, + + /* Only show this separator if one of the above is shown. */ + { "", NULL, NULL, NULL, MASK_EDITABLE | MASK_EDITING }, + + + { N_("C_ut"), NULL, e_day_view_on_cut, NULL, MASK_EDITABLE | MASK_EDITING }, - { N_("Copy"), NULL, + { N_("_Copy"), NULL, e_day_view_on_copy, NULL, 0 }, - { N_("Paste"), NULL, + { N_("_Paste"), NULL, e_day_view_on_paste, NULL, 0 }, - { "", NULL, NULL, NULL, MASK_SINGLE}, /* * The following are only shown if this is a recurring event */ - { "", NULL, NULL, NULL, MASK_SINGLE}, - { N_("Make this Occurrence Movable"), 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 }, - { N_("Delete this Occurrence"), NULL, + { N_("Delete this _Occurrence"), NULL, e_day_view_on_delete_occurrence, NULL, MASK_RECURRING | MASK_EDITING }, - { N_("Delete all Occurrences"), NULL, + { N_("Delete _All Occurrences"), NULL, e_day_view_on_delete_appointment, NULL, MASK_RECURRING | MASK_EDITING }, { NULL, NULL, NULL, NULL, 0 } |