f67c43321e28712497375654c5a94a17bd93c0dc
[modest] / src / maemo / ui / modest-msg-edit-window-ui.xml
1 <!--
2  * Copyright (c) 2006, Nokia Corporation
3  * All rights reserved.
4  *
5  * Redistribution and use in source and binary forms, with or without
6  * modification, are permitted provided that the following conditions are
7  * met:
8  *
9  * * Redistributions of source code must retain the above copyright
10  *   notice, this list of conditions and the following disclaimer.
11  * * Redistributions in binary form must reproduce the above copyright
12  *   notice, this list of conditions and the following disclaimer in the
13  *   documentation and/or other materials provided with the distribution.
14  * * Neither the name of the Nokia Corporation nor the names of its
15  *   contributors may be used to endorse or promote products derived from
16  *   this software without specific prior written permission.
17  *
18  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
19  * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
20  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
21  * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
22  * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
23  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
24  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
25  * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
26  * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
27  * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
28  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 -->
30
31 <ui>
32
33   <popup name="MenuBar">
34
35     <menu name="EmailMenu" action="Email">
36       <menuitem name="SendMenu" action="ActionsSend"/>
37       <menuitem name="SaveToDraftsMenu" action="ActionsSaveToDrafts"/>
38       <separator/>
39       <menuitem name="SelectContactsMenu" action="SelectContacts"/>
40       <menuitem name="CheckNamesMenu" action="CheckNames"/>
41       <separator/>
42       <menuitem name="NewMessageMenu" action="ActionsNewMessage"/>
43     </menu>
44
45     <menu name="EditMenu" action="Edit">
46       <menuitem name="UndoMenu" action="Undo"/>
47       <menuitem name="RedoMenu" action="Redo"/>
48       <separator/>
49       <menuitem name="CutMenu" action="Cut"/>
50       <menuitem name="CopyMenu" action="Copy"/>
51       <menuitem name="PasteMenu" action="Paste"/>
52       <separator/>
53       <menuitem name="SelectAllMenu" action="SelectAll"/>
54     </menu>
55
56     <menu name="ViewMenu" action="View">
57       <menu name="ZoomMenu" action="Zoom">
58         <menuitem name="Zoom50Menu" action="Zoom50"/>
59         <menuitem name="Zoom80Menu" action="Zoom80"/>
60         <menuitem name="Zoom100Menu" action="Zoom100"/>
61         <menuitem name="Zoom120Menu" action="Zoom120"/>
62         <menuitem name="Zoom150Menu" action="Zoom150"/>
63         <menuitem name="Zoom200Menu" action="Zoom200"/>
64       </menu>
65       <separator/>
66       <menuitem name="ViewToggleFullscreenMenu" action="ViewToggleFullscreen"/>
67       <separator/>
68       <menu name="ShowToolbarMenu" action="ShowToolbar">
69         <menuitem name="ViewShowToolbarNormalScreenMenu" action="ViewShowToolbarNormalScreen"/>
70         <menuitem name="ViewShowToolbarFullScreenMenu" action="ViewShowToolbarFullScreen"/>
71       </menu>
72       <separator/>
73       <menuitem name="ViewCcFieldMenu" action="ViewCcField"/>
74       <menuitem name="ViewBccFieldMenu" action="ViewBccField"/>
75     </menu>
76
77     <menu name="FormatMenu" action="Format">
78       <menuitem name="SelectFontMenu" action="SelectFont"/>
79 <!--      <menuitem name="BulletedListMenu" action="ActionsBulletedList"/> -->
80       <menu name="AlignmentMenu" action="Alignment">
81          <menuitem name="AlignmentLeftMenu" action="AlignmentLeft"/>
82          <menuitem name="AlignmentCenterMenu" action="AlignmentCenter"/>
83          <menuitem name="AlignmentRightMenu" action="AlignmentRight"/>
84       </menu>
85       <separator/>
86       <menu name="FileFormatMenu" action="FileFormat">
87         <menuitem name="FileFormatPlainTextMenu" action="FileFormatPlainText"/>
88         <menuitem name="FileFormatFormattedTextMenu" action="FileFormatFormattedText"/>
89       </menu>
90     </menu>
91
92     <menu name="AttachmentsMenu" action="Attachments">
93       <menuitem name="AttachFileMenu" action="AttachFile"/>
94       <menuitem name="InsertImageMenu" action="InsertImage"/>
95       <separator/>
96       <menuitem name="RemoveAttachmentsMenu" action="RemoveAttachments"/>
97     </menu>
98
99     <menu name="ToolsMenu" action="Tools">
100       <menu name="MessagePriorityMenu" action="MessagePriority">
101         <menuitem name="MessagePriorityHighMenu" action="MessagePriorityHigh"/>
102         <menuitem name="MessagePriorityNormalMenu" action="MessagePriorityNormal"/>
103         <menuitem name="MessagePriorityLowMenu" action="MessagePriorityLow"/>
104       </menu>
105       <separator/>
106       <menuitem name="FindInMessageMenu" action="FindInMessage"/>
107       <menuitem name="ToolSearchMessagesMenu" action="SearchMessages"/>
108       <separator/>
109       <menuitem name="ToolsHelpMenu" action="Help"/>
110     </menu>
111
112     <menu name="CloseMenu" action="Close">
113       <menuitem name="CloseWindowMenu" action="CloseWindow"/>
114       <menuitem name="CloseAllWindowsMenu" action="CloseAllWindows"/>
115     </menu>
116
117   </popup>
118
119   <toolbar name="ToolBar">
120     <toolitem action="ToolbarSend"/>
121     <separator/>
122     <placeholder name="FontAttributes" />
123     <toolitem action="ActionsBold"/>
124     <toolitem action="ActionsItalics"/>
125     <placeholder name="FontColor" />
126   </toolbar>
127
128   <accelerator name="AccelZoomMinus" action="ZoomMinus"/>
129   <accelerator name="AccelZoomPlus" action="ZoomPlus"/>
130   <accelerator name="AccelToggleFullscreen" action="ToggleFullscreen"/>
131   <accelerator name="AccelCloseWindow" action="CloseWindowShortcut"/>
132
133 </ui>