* src/modest-ui-actions.[ch]:
[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   <menubar 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       <separator/>
44       <menuitem name="DeleteMenu" action="ActionsDelete"/>
45     </menu>
46
47     <menu name="EditMenu" action="Edit">
48       <menuitem name="UndoMenu" action="Undo"/>
49       <separator/>
50       <menuitem name="CutMenu" action="Cut"/>
51       <menuitem name="CopyMenu" action="Copy"/>
52       <menuitem name="PasteMenu" action="Paste"/>
53       <separator/>
54       <menuitem name="SelectAllMenu" action="SelectAll"/>
55     </menu>
56
57     <menu name="ViewMenu" action="View">
58       <menu name="ZoomMenu" action="Zoom">
59         <menuitem name="Zoom50Menu" action="Zoom50"/>
60         <menuitem name="Zoom100Menu" action="Zoom100"/>
61         <menuitem name="Zoom150Menu" action="Zoom150"/>
62         <menuitem name="Zoom200Menu" action="Zoom200"/>
63       </menu>
64       <separator/>
65       <menuitem name="ViewToggleFullscreenMenu" action="ViewToggleFullscreen"/>
66       <separator/>
67       <menu name="ShowToolbarMenu" action="ShowToolbar">
68         <menuitem name="ViewShowToolbarNormalScreenMenu" action="ViewShowToolbarNormalScreen"/>
69         <menuitem name="ViewShowToolbarFullScreenMenu" action="ViewShowToolbarFullScreen"/>
70       </menu>
71       <separator/>
72       <menuitem name="ViewCcFieldMenu" action="ViewCcField"/>
73       <menuitem name="ViewBccFieldMenu" action="ViewBccField"/>
74     </menu>
75
76     <menu name="FormatMenu" action="Format">
77       <menuitem name="SelectFontMenu" action="SelectFont"/>
78       <menuitem name="BulletedListMenu" action="ActionsBulletedList"/>
79       <menu name="AlignmentMenu" action="Alignment">
80          <menuitem name="AlignmentLeftMenu" action="AlignmentLeft"/>
81          <menuitem name="AlignmentCenterMenu" action="AlignmentCenter"/>
82          <menuitem name="AlignmentRightMenu" action="AlignmentRight"/>
83       </menu>
84       <separator/>
85       <menu name="FileFormatMenu" action="FileFormat">
86         <menuitem name="FileFormatPlainTextMenu" action="FileFormatPlainText"/>
87         <menuitem name="FileFormatFormattedTextMenu" action="FileFormatFormattedText"/>
88       </menu>
89     </menu>
90
91     <menu name="AttachmentsMenu" action="Attachments">
92       <menuitem name="InsertImageMenu" action="InsertImage"/>
93     </menu>
94
95     <menu name="ToolsMenu" action="Tools">
96       <menu name="MessagePriorityMenu" action="MessagePriority">
97         <menuitem name="MessagePriorityHighMenu" action="MessagePriorityHigh"/>
98         <menuitem name="MessagePriorityNormalMenu" action="MessagePriorityNormal"/>
99         <menuitem name="MessagePriorityLowMenu" action="MessagePriorityLow"/>
100       </menu>
101     </menu>
102
103     <menu name="CloseMenu" action="Close">
104       <menuitem name="CloseWindowMenu" action="CloseWindow"/>
105       <menuitem name="CloseAllWindowsMenu" action="CloseAllWindows"/>
106     </menu>
107
108   </menubar>
109
110   <toolbar name="ToolBar">
111     <toolitem action="ToolbarSend"/>
112     <!--<toolitem action="ActionFontFace"/>-->
113     <!--<toolitem action="ActionFontSize"/>-->
114     <separator/>
115     <placeholder name="FontAttributes">
116     </placeholder>
117     <toolitem action="ActionsBold"/>
118     <toolitem action="ActionsItalics"/>
119     <placeholder name="FontColor">
120     </placeholder>
121   </toolbar>
122
123   <accelerator name="AccelZoomMinus" action="ZoomMinus"/>
124   <accelerator name="AccelZoomPlus" action="ZoomPlus"/>
125   <accelerator name="AccelToggleFullscreen" action="ToggleFullscreen"/>
126
127 </ui>