summaryrefslogtreecommitdiffstats
path: root/comm/mail/components/unifiedtoolbar/content/unifiedToolbarPopups.inc.xhtml
blob: b0edb1b67f495536ede0fb0dd046df948e0752e4 (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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
# 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/.
<menupopup id="unifiedToolbarMenu">
  <menuitem id="menuBarToggleVisible"
            type="checkbox"
            label="&menubarCmd.label;"
            accesskey="&menubarCmd.accesskey;"/>
  <menuseparator id="menuBarToggleMenuSeparator"/>
  <menuitem id="unifiedToolbarCustomize" data-l10n-id="customize-menu-customize" />
  <menuseparator id="extensionsMailToolbarMenuSeparator"/>
  <menuitem oncommand="ToolbarContextMenu.openAboutAddonsForContextAction(this.parentElement)"
            data-l10n-id="toolbar-context-menu-manage-extension"
            class="customize-context-manageExtension"/>
  <menuitem oncommand="ToolbarContextMenu.removeExtensionForContextAction(this.parentElement)"
            data-l10n-id="toolbar-context-menu-remove-extension"
            class="customize-context-removeExtension"/>
</menupopup>
<menupopup id="customizationTargetMenu">
  <menuitem id="customizationTargetEnd" data-l10n-id="customize-target-end" />
  <menuitem id="customizationTargetForward" data-l10n-id="customize-target-forward" />
  <menuitem id="customizationTargetBackward" data-l10n-id="customize-target-backward" />
  <menuitem id="customizationTargetStart" data-l10n-id="customize-target-start" />
  <menuitem id="customizationTargetRemove" data-l10n-id="customize-target-remove" />
  <menuitem id="customizationTargetRemoveEverywhere"
            data-l10n-id="customize-target-remove-everywhere"
            hidden="true" />
  <menuitem id="customizationTargetAddEverywhere"
            data-l10n-id="customize-target-add-everywhere"
            hidden="true" />
</menupopup>
<menupopup id="customizationPaletteMenu">
  <menuitem id="customizationPaletteAddEverywhere"
            data-l10n-id="customize-palette-add-everywhere"
            hidden="true" />
</menupopup>
<menupopup is="folder-menupopup" id="toolbarMoveToPopup"
           mode="filing"
           showRecent="true"
           showFileHereLabel="true"
           recentLabel="&moveCopyMsgRecentMenu.label;"
           recentAccessKey="&moveCopyMsgRecentMenu.accesskey;"
           oncommand="goDoCommand('cmd_moveMessage', event.target._folder);event.stopPropagation()"/>
<menupopup is="folder-menupopup" id="toolbarFolderLocationPopup"
           class="menulist-menupopup"
           mode="notDeferred"
           showFileHereLabel="true"/>
<menupopup id="toolbarTagPopup"
           onpopupshowing="InitMessageTags(this);">
  <menuitem id="button-addNewTag"
            label="&addNewTag.label;"
            accesskey="&addNewTag.accesskey;"
            command="cmd_addTag"/>
  <menuitem id="button-manageTags"
            label="&manageTags.label;"
            accesskey="&manageTags.accesskey;"
            command="cmd_manageTags"/>
  <menuseparator id="button-tagpopup-sep-afterTagAddNew"/>
  <menuitem id="button-tagRemoveAll"
            command="cmd_removeTags"/>
  <menuseparator id="button-afterTagRemoveAllSeparator"/>
</menupopup>
<menupopup id="toolbarMarkPopup" onpopupshowing="InitMessageMark()">
  <menuitem id="markReadToolbarItem"
            label="&markAsReadCmd.label;"
            accesskey="&markAsReadCmd.accesskey;"
            key="key_toggleRead"
            command="cmd_markAsRead"/>
  <menuitem id="markUnreadToolbarItem"
            label="&markAsUnreadCmd.label;"
            accesskey="&markAsUnreadCmd.accesskey;"
            key="key_toggleRead"
            command="cmd_markAsUnread"/>
  <menuitem id="button-markThreadAsRead"
            label="&markThreadAsReadCmd.label;"
            key="key_markThreadAsRead"
            accesskey="&markThreadAsReadCmd.accesskey;"
            command="cmd_markThreadAsRead"/>
  <menuitem id="button-markReadByDate"
            label="&markReadByDateCmd.label;"
            key="key_markReadByDate"
            accesskey="&markReadByDateCmd.accesskey;"
            command="cmd_markReadByDate"/>
  <menuitem id="button-markAllRead"
            label="&markAllReadCmd.label;"
            key="key_markAllRead"
            accesskey="&markAllReadCmd.accesskey;"
            command="cmd_markAllRead"/>
  <menuseparator id="button-markAllReadSeparator"/>
  <menuitem id="markFlaggedToolbarItem"
            type="checkbox"
            label="&markStarredCmd.label;"
            accesskey="&markStarredCmd.accesskey;"
            key="key_toggleFlagged"
            command="cmd_markAsFlagged"/>
</menupopup>
<menupopup id="toolbarViewPickerPopup"
            onpopupshowing="RefreshViewPopup(this);">
  <menuitem id="viewPickerAll" value="0"
            label="&viewAll.label;"
            type="radio"
            oncommand="ViewChangeByMenuitem(this);"/>
  <menuitem id="viewPickerUnread" value="1"
            label="&viewUnread.label;"
            type="radio"
            oncommand="ViewChangeByMenuitem(this);"/>
  <menuitem id="viewPickerNotDeleted" value="3"
            label="&viewNotDeleted.label;"
            type="radio"
            oncommand="ViewChangeByMenuitem(this);"/>
  <menuseparator id="afterViewPickerUnreadSeparator"/>
  <menu id="viewPickerTags" label="&viewTags.label;">
    <menupopup id="viewPickerTagsPopup"
                class="menulist-menupopup"
                onpopupshowing="RefreshTagsPopup(this);"/>
  </menu>
  <menu id="viewPickerCustomViews" label="&viewCustomViews.label;">
    <menupopup id="viewPickerCustomViewsPopup"
                class="menulist-menupopup"
                onpopupshowing="RefreshCustomViewsPopup(this);"/>
  </menu>
  <menuseparator id="afterViewPickerCustomViewsSeparator"/>
  <menuitem id="viewPickerVirtualFolder"
            value="7"
            label="&viewVirtualFolder.label;"
            oncommand="ViewChangeByMenuitem(this);"/>
  <menuitem id="viewPickerCustomize"
            value="8"
            label="&viewCustomizeView.label;"
            oncommand="ViewChangeByMenuitem(this);"/>
</menupopup>
<menupopup id="messageHistoryPopup">
</menupopup>