blob: 70d2de17d4b38a0fa3051f5aa519885b537297b2 (
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
|
#ifndef __UIDEFS_H__
#define __UIDEFS_H__
#include "config.h"
#if RELEASE
#define DEBUG_TOOLBAR_ITEMS
#else /* !RELEASE */
#define DEBUG_TOOLBAR_ITEMS "<separator/>" \
"<toolitem name=\"ReportBug\" action=\"ReportBugAction\" />"
#endif /* !RELEASE */
#ifdef HAS_LIBSOUP
#define SYNC_MANAGER_ITEMS " <separator/>" \
" <menuitem name=\"SyncManager\" action=\"SyncManagerAction\" />"
#else /* !HAS_LIBSOUP */
#define SYNC_MANAGER_ITEMS
#endif /* !HAS_LIBSOUP */
char *uidefs_str = "<ui>" \
" <menubar>" \
" <menu name=\"InformationMenu\" action=\"InformationMenuAction\">" \
" <menuitem name=\"Report\" action=\"ReportAction\" />" \
" <menuitem name=\"Copy\" action=\"CopyAction\" />" \
SYNC_MANAGER_ITEMS
" <separator/>" \
" <menuitem name=\"Quit\" action=\"QuitAction\" />" \
" </menu>" \
" <menu name=\"ViewMenu\" action=\"ViewMenuAction\">" \
" <menuitem name=\"SidePane\" action=\"SidePaneAction\"/>" \
" <menuitem name=\"Toolbar\" action=\"ToolbarAction\"/>" \
" <separator/>"\
" <separator name=\"LastSep\"/>" \
" <menuitem name=\"Refresh\" action=\"RefreshAction\"/>" \
" </menu>" \
" <menu name=\"HelpMenu\" action=\"HelpMenuAction\">" \
" <menuitem name=\"WebPage\" action=\"HomePageAction\"/>" \
" <menuitem name=\"ReportBug\" action=\"ReportBugAction\"/>" \
" <separator/>" \
" <menu name=\"HelpMenuModules\" action=\"HelpMenuModulesAction\">" \
" <separator name=\"LastSep\"/>" \
" </menu>" \
" <menuitem name=\"About\" action=\"AboutAction\"/>" \
" </menu>" \
" </menubar>" \
" <toolbar action=\"MainMenuBar\" action=\"MainMenuBarAction\">" \
" <placeholder name=\"ToolItems\">" \
" <toolitem name=\"Refresh\" action=\"RefreshAction\"/>" \
" <separator/>" \
" <toolitem name=\"Report\" action=\"ReportAction\"/>" \
" <toolitem name=\"Copy\" action=\"CopyAction\"/>" \
" <separator/>" \
DEBUG_TOOLBAR_ITEMS \
" </placeholder>" \
" </toolbar>" \
"</ui>";
#endif /* __UIDEFS_H__ */
|