* Fixes NB#92694, migrated the viewer menus to 1.5 specs version
[modest] / src / hildon2 / ui / modest-msg-view-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     <menu name="MessageMenu" action="Email">
35       <menuitem name="MessageReplyAllMenu" action="EmailReplyAll"/>
36       <menuitem name="MessageForwardMenu" action="EmailForward"/>
37       <separator/>
38       <menuitem name="MessageNewMenu"  action="EmailNewDefault"/>
39       <separator/>
40       <menuitem name="MessageDetailsMenu"      action="EmailDetails"/>
41     </menu>
42
43     <menu name="AttachmentsMenu" action="Attachments">
44       <menuitem name="SaveAttachmentMenu" action="SaveAttachment"/>
45       <menuitem name="RemoveAttachmentMenu" action="RemoveAttachment"/>
46     </menu>
47
48    <menu name="ToolsMenu" action="Tools">
49       <menuitem name="ToolsAddToContactsMenu" action="ToolsAddToContacts"/>
50    </menu>
51
52   </menubar>
53
54   <toolbar name="ToolBar">
55     <toolitem action="ToolbarMessageReply"/> 
56     <toolitem action="ToolbarMessageMoveTo"/>
57     <toolitem action="ToolbarDeleteMessage"/>
58     <toolitem action="FindInMessage"/>
59     <toolitem action="ToolbarMessageBack" position="bot"/>
60     <toolitem action="ToolbarMessageNext" position="bot"/>
61     <placeholder name="ProgressbarView" position="bot">
62     </placeholder>
63     <toolitem action="ToolbarCancel" position="bot"/>
64   </toolbar>
65
66   <popup name="ToolbarReplyCSM">
67       <menuitem name="MessageReplyAllMenu" action="EmailReplyAll"/>
68       <menuitem name="MessageForwardMenu" action="EmailForward"/>
69   </popup>
70
71   <accelerator name="AccelZoomMinus" action="ZoomMinus"/>
72   <accelerator name="AccelZoomPlus" action="ZoomPlus"/>
73   <accelerator name="AccelToggleFullscreen" action="ToggleFullscreen"/>
74
75   </ui>