aboutsummaryrefslogtreecommitdiffstats
path: root/ui/evolution-contact-editor.xml
blob: 12e9e0ce338c38e7c66c4507f38da74b0311e80b (plain) (blame)
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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
<Root>
<!--

/* Menu bar */

static GnomeUIInfo file_new_menu[] = {
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Appointment"), NULL, NULL),
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: Meeting Re_quest"), NULL, NULL),
    GNOMEUIINFO_SEPARATOR,
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Mail Message"), NULL, NULL),
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Contact"), NULL, NULL),
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Task"), NULL, NULL),
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: Task _Request"), NULL, NULL),
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Journal Entry"), NULL, NULL),
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Note"), NULL, NULL),
    GNOMEUIINFO_SEPARATOR,
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: Ch_oose Form..."), NULL, NULL),
    GNOMEUIINFO_END
};

static GnomeUIInfo file_page_setup_menu[] = {
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Memo Style"), NULL, NULL),
    GNOMEUIINFO_SEPARATOR,
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: Define Print _Styles..."), NULL, NULL),
    GNOMEUIINFO_END
};

static GnomeUIInfo file_menu[] = {
    GNOMEUIINFO_MENU_NEW_SUBTREE (file_new_menu),
    GNOMEUIINFO_SEPARATOR,
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: S_end"), NULL, NULL),
    GNOMEUIINFO_SEPARATOR,
    GNOMEUIINFO_MENU_SAVE_ITEM (file_save_cb, NULL),
    GNOMEUIINFO_MENU_SAVE_AS_ITEM (file_save_as_cb, NULL),
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: Save Attac_hments..."), NULL, NULL),
    GNOMEUIINFO_SEPARATOR,
    GNOMEUIINFO_ITEM_NONE (N_("_Delete"), NULL, delete_cb),
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Move to Folder..."), NULL, NULL),
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: Cop_y to Folder..."), NULL, NULL),
    GNOMEUIINFO_SEPARATOR,
    GNOMEUIINFO_SUBTREE (N_("Page Set_up"), file_page_setup_menu),
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: Print Pre_view"), NULL, NULL),
    GNOMEUIINFO_MENU_PRINT_ITEM (print_cb, NULL),
    GNOMEUIINFO_SEPARATOR,
    GNOMEUIINFO_MENU_PROPERTIES_ITEM (NULL, NULL),
    GNOMEUIINFO_SEPARATOR,
    GNOMEUIINFO_MENU_CLOSE_ITEM (file_close_cb, NULL),
    GNOMEUIINFO_END
};

static GnomeUIInfo edit_object_menu[] = {
    GNOMEUIINFO_ITEM_NONE ("FIXME: what goes here?", NULL, NULL),
    GNOMEUIINFO_END
};

static GnomeUIInfo edit_menu[] = {
    GNOMEUIINFO_MENU_UNDO_ITEM (NULL, NULL),
    GNOMEUIINFO_MENU_REDO_ITEM (NULL, NULL),
    GNOMEUIINFO_SEPARATOR,
    GNOMEUIINFO_MENU_CUT_ITEM (NULL, NULL),
    GNOMEUIINFO_MENU_COPY_ITEM (NULL, NULL),
    GNOMEUIINFO_MENU_PASTE_ITEM (NULL, NULL),
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: Paste _Special..."), NULL, NULL),
    GNOMEUIINFO_SEPARATOR,
    GNOMEUIINFO_MENU_CLEAR_ITEM (NULL, NULL),
    GNOMEUIINFO_MENU_SELECT_ALL_ITEM (NULL, NULL),
    GNOMEUIINFO_SEPARATOR,
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: Mark as U_nread"), NULL, NULL),
    GNOMEUIINFO_SEPARATOR,
    GNOMEUIINFO_MENU_FIND_ITEM (NULL, NULL),
    GNOMEUIINFO_MENU_FIND_AGAIN_ITEM (NULL, NULL),
    GNOMEUIINFO_SUBTREE (N_("_Object"), edit_object_menu),
    GNOMEUIINFO_END
};

static GnomeUIInfo view_previous_menu[] = {
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Item"), NULL, NULL),
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Unread Item"), NULL, NULL),
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: Fi_rst Item in Folder"), NULL, NULL),
    GNOMEUIINFO_END
};

static GnomeUIInfo view_next_menu[] = {
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Item"), NULL, NULL),
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Unread Item"), NULL, NULL),
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Last Item in Folder"), NULL, NULL),
    GNOMEUIINFO_END
};

static GnomeUIInfo view_toolbars_menu[] = {
    { GNOME_APP_UI_TOGGLEITEM, N_("FIXME: _Standard"), NULL, NULL, NULL, NULL,
      GNOME_APP_PIXMAP_NONE, NULL, 0, 0, NULL },
    { GNOME_APP_UI_TOGGLEITEM, N_("FIXME: __Formatting"), NULL, NULL, NULL, NULL,
      GNOME_APP_PIXMAP_NONE, NULL, 0, 0, NULL },
    GNOMEUIINFO_SEPARATOR,
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Customize..."), NULL, NULL),
    GNOMEUIINFO_END
};

static GnomeUIInfo view_menu[] = {
    GNOMEUIINFO_SUBTREE (N_("Pre_vious"), view_previous_menu),
    GNOMEUIINFO_SUBTREE (N_("Ne_xt"), view_next_menu),
    GNOMEUIINFO_SEPARATOR,
    GNOMEUIINFO_SUBTREE (N_("_Toolbars"), view_toolbars_menu),
    GNOMEUIINFO_END
};

static GnomeUIInfo insert_menu[] = {
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: _File..."), NULL, NULL),
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: It_em..."), NULL, NULL),
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Object..."), NULL, NULL),
    GNOMEUIINFO_END
};

static GnomeUIInfo format_menu[] = {
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Font..."), NULL, NULL),
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Paragraph..."), NULL, NULL),
    GNOMEUIINFO_END
};

static GnomeUIInfo tools_forms_menu[] = {
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: Ch_oose Form..."), NULL, NULL),
    GNOMEUIINFO_SEPARATOR,
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: Desi_gn This Form"), NULL, NULL),
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: D_esign a Form..."), NULL, NULL),
    GNOMEUIINFO_SEPARATOR,
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: Publish _Form..."), NULL, NULL),
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: Pu_blish Form As..."), NULL, NULL),
    GNOMEUIINFO_SEPARATOR,
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: Script _Debugger"), NULL, NULL),
    GNOMEUIINFO_END
};

static GnomeUIInfo tools_menu[] = {
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Spelling..."), NULL, NULL),
    GNOMEUIINFO_SEPARATOR,
    GNOMEUIINFO_SUBTREE (N_("_Forms"), tools_forms_menu),
    GNOMEUIINFO_END
};

static GnomeUIInfo actions_menu[] = {
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: _New Contact"), NULL, NULL),
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: New _Contact from Same Company"), NULL, NULL),
    GNOMEUIINFO_SEPARATOR,
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: New _Letter to Contact"), NULL, NULL),
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: New _Message to Contact"), NULL, NULL),
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: New Meetin_g with Contact"), NULL, NULL),
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Plan a Meeting..."), NULL, NULL),
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: New _Task for Contact"), NULL, NULL),
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: New _Journal Entry for Contact"), NULL, NULL),
    GNOMEUIINFO_SEPARATOR,
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Flag for Follow Up..."), NULL, NULL),
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Display Map of Address"), NULL, NULL),
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: _Open Web Page"), NULL, NULL),
    GNOMEUIINFO_SEPARATOR,
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: Forward as _vCard"), NULL, NULL),
    GNOMEUIINFO_ITEM_NONE (N_("FIXME: For_ward"), NULL, NULL)
};

static GnomeUIInfo main_menu[] = {
    GNOMEUIINFO_MENU_FILE_TREE (file_menu),
    GNOMEUIINFO_MENU_EDIT_TREE (edit_menu),
    GNOMEUIINFO_MENU_VIEW_TREE (view_menu),
    GNOMEUIINFO_SUBTREE (N_("_Insert"), insert_menu),
    GNOMEUIINFO_SUBTREE (N_("F_ormat"), format_menu),
    GNOMEUIINFO_SUBTREE (N_("_Tools"), tools_menu),
    GNOMEUIINFO_SUBTREE (N_("Actio_ns"), actions_menu),
    GNOMEUIINFO_END
};
-->
        <commands>
        <cmd name="ContactEditorSave" pixtype="pixbuf"/>
        <cmd name="ContactEditorSaveAs" pixtype="pixbuf"/>

        <cmd name="ContactEditorSendAs"/>

        <cmd name="ContactEditorSendTo"/>

        <cmd name="ContactEditorDelete"
         _tip="Delete this item"
         pixtype="stock" pixname="Trash"/>

        <cmd name="ContactEditorPrint"
         _tip="Print this item"
         pixtype="pixbuf"/>

<!-- Envelope printing is disabled for Evolution 1.0.
        <cmd name="ContactEditorPrintEnvelope"
         pixtype="pixbuf"/>
-->

        <cmd name="ContactEditorClose"
         pixtype="stock" pixname="Close"/>

        <cmd name="ContactEditorSaveClose"
         _tip="Save the contact and close the dialog box"
         pixtype="stock" pixname="Save"/>
    </commands>

    <menu>

        <submenu name="File" _label="_File">

                <menuitem name="ContactEditorSave" verb="" _label="_Save"/>
                <menuitem name="ContactEditorSaveAs" verb="" _label="Save _As..."/>

            <separator/>

                <menuitem name="ContactEditorSendAs" verb="" 
            _label="Se_nd contact to other..."/>

                <menuitem name="ContactEditorSendTo" verb=""
            _label="Send _message to contact..."/>

            <separator/>

                <menuitem name="ContactEditorDelete" verb=""
            _label="Delete"/>

            <separator/>

            <placeholder name="Print">

                <menuitem name="ContactEditorPrint" verb=""
                _label="_Print..."/>

<!-- Envelope printing is disabled for Evolution 1.0.

                <menuitem name="ContactEditorPrintEnvelope" verb=""
                _label="Print En_velope..."/>
-->

            </placeholder>

            <separator/>

                <menuitem name="ContactEditorClose" verb=""
            _label="Close"/>

        </submenu>
    </menu>

    <dockitem name="Toolbar" relief="none" behavior="exclusive"
            hlook="text" vlook="icon">
            <toolitem name="ContactEditorSaveClose" verb=""
        _label="Save and Close" priority="1"/>

        <separator/>

        <toolitem name="ContactEditorPrint" verb=""
        _label="Print" priority="1" pixtype="pixbuf"/>

        <toolitem name="ContactEditorDelete" verb=""
        _label="Delete" priority="1"/>

        <toolitem name="ContactEditorClose" verb=""
        _label="Close" priority="1"/>   

<!--
        <toolitem name="Help" _label="Help"
        _tip="See online help" verb="ContactEditorHelp"
        pixtype="stock" pixname="Help"/>

    GNOMEUIINFO_ITEM_STOCK (N_("FIXME: Previous"),
                N_("Go to the previous item"), NULL,
                GNOME_STOCK_PIXMAP_BACK),
    GNOMEUIINFO_ITEM_STOCK (N_("FIXME: Next"),
                N_("Go to the next item"), NULL,
                GNOME_STOCK_PIXMAP_FORWARD),
-->

    </dockitem>

</Root>