summaryrefslogtreecommitdiffstats
path: root/comm/calendar/base/content/calendar-menu-events-tasks.inc.xhtml
blob: 6967fad0221ff409e2cd218e0a0cd991b89fa880 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

<menu id="menu_Event_Task"
      class="hide-when-calendar-deactivated"
      label="&lightning.menu.eventtask.label;"
      accesskey="&lightning.menu.eventtask.accesskey;">
  <menupopup id="menu_Event_Task_Popup" onpopupshowing="changeMenuForTask(event); setupDeleteMenuitem('calDeleteSelectedCalendar')">
    <menuitem id="calNewEvent2"
              label="&event.new.event;"
              accesskey="&event.new.event.accesskey;"
              key="calendar-new-event-key"
              command="calendar_new_event_command"/>
    <menuitem id="calNewTask2"
              label="&event.new.task;"
              accesskey="&event.new.task.accesskey;"
              key="calendar-new-todo-key"
              command="calendar_new_todo_command"/>
    <menuseparator id="before-Calendar-Mode-Section"/>
    <menuitem id="calMenuSwitchToCalendar"
              type="checkbox"
              label="&lightning.toolbar.calendar.label;"
              accesskey="&lightning.toolbar.calendar.accesskey;"
              command="switch2calendar"
              value="calendar"
              autocheck="false"
              data-l10n-attrs="acceltext">
    </menuitem>
    <menuitem id="calMenuSwitchToTask"
              type="checkbox"
              label="&lightning.toolbar.task.label;"
              accesskey="&lightning.toolbar.task.accesskey;"
              command="switch2task"
              value="task"
              autocheck="false"
              data-l10n-attrs="acceltext">
    </menuitem>
    <menuseparator id="calBeforeCalendarSection"/>
    <menuitem id="calExportCalendar"
              label="&calendar.export.label;"
              accesskey="&calendar.export.accesskey;"
              command="calendar_export_command"/>
    <menuitem id="calImportCalendar"
              label="&calendar.import.label;"
              accesskey="&calendar.import.accesskey;"
              command="calendar_import_command"/>
    <menuitem id="calPublishCalendar"
              label="&calendar.publish.label;"
              accesskey="&calendar.publish.accesskey;"
              command="calendar_publish_calendar_command"/>
    <menuitem id="calDeleteSelectedCalendar"
              labeldelete="&calendar.deletecalendar.label;"
              labelremove="&calendar.removecalendar.label;"
              labelunsubscribe="&calendar.unsubscribecalendar.label;"
              accesskeydelete="&calendar.deletecalendar.accesskey;"
              accesskeyremove="&calendar.removecalendar.accesskey;"
              accesskeyunsubscribe="&calendar.unsubscribecalendar.accesskey;"
              command="calendar_delete_calendar_command"/>
    <menuseparator id="calBeforeTaskActions"/>
    <menuitem id="calTaskActionsMarkCompletedMenuitem"
              type="checkbox"
              label="&calendar.context.markcompleted.label;"
              accesskey="&calendar.context.markcompleted.accesskey;"
              command="calendar_toggle_completed_command"/>
    <menu id="calTaskActionsProgressMenuitem"
          label="&calendar.context.progress.label;"
          accesskey="&calendar.context.progress.accesskey;"
          command="calendar_general-progress_command">
      <menupopup is="calendar-task-progress-menupopup"/>
    </menu>
    <menu id="calTaskActionsPriorityMenuitem"
          label="&calendar.context.priority.label;"
          accesskey="&calendar.context.priority.accesskey;"
          command="calendar_general-priority_command">
      <menupopup is="calendar-task-priority-menupopup"/>
    </menu>
    <menu id="calTaskActionsPostponeMenuitem"
          label="&calendar.context.postpone.label;"
          accesskey="&calendar.context.postpone.accesskey;"
          command="calendar_general-postpone_command">
      <menupopup id="calTaskActionsPostponeMenuPopup">
        <menuitem id="calTaskActionsPostponeMenu-1hour"
                  label="&calendar.context.postpone.1hour.label;"
                  accesskey="&calendar.context.postpone.1hour.accesskey;"
                  command="calendar_postpone-1hour_command"/>
        <menuitem id="calTaskActionsPostponeMenu-1day"
                  label="&calendar.context.postpone.1day.label;"
                  accesskey="&calendar.context.postpone.1day.accesskey;"
                  command="calendar_postpone-1day_command"/>
        <menuitem id="calTaskActionsPostponeMenu-1week"
                  label="&calendar.context.postpone.1week.label;"
                  accesskey="&calendar.context.postpone.1week.accesskey;"
                  command="calendar_postpone-1week_command"/>
      </menupopup>
    </menu>
    <menuseparator id="calBeforeUnifinderSection" />
    <menuitem id="calShowUnifinder"
              type="checkbox"
              checked="true"
              label="&showUnifinderCmd.label;"
              accesskey="&showUnifinderCmd.accesskey;"
              command="calendar_show_unifinder_command"/>
  </menupopup>
</menu>