keditbookmarks-genui.rc 3.62 KB
Newer Older
1
2
3
<?xml version="1.0"?>
<!DOCTYPE gui SYSTEM "kpartgui.dtd">
<gui name="keditbookmarks" version="26">
4
5
6
7
8
9
10
11
12
13
14

<MenuBar>

<Menu name="file" noMerge="1"><text>&amp;File</text>
  <Action name="file_open"/>
  <Action name="file_save_as"/>
  <Separator/>
  <Action name="file_quit"/>
</Menu>

<Menu name="edit"><text>&amp;Edit</text>
15
  <!-- undo/redo/cut/copy/paste stuff is
16
17
       merged (?) at this point (ui_standards.rc) -->
  <!-- Various things -->
18
19
20
  <Action name="rename" append="edit_paste_merge"/>
  <Action name="delete" append="edit_paste_merge"/>
  <Separator/>
21
22
23
  <Action name="changeurl"/>
  <Action name="changecomment"/>
  <Action name="changeicon"/>
24
25
26
</Menu>

<Menu name="view"><text>&amp;View</text>
27
28
29
30
  <Action name="expandall"/>
  <Action name="collapseall"/>
</Menu>

31
<Menu name="folder"><text>&amp;Folder</text>
32
33
  <Action name="newfolder"/>
  <Action name="insertseparator"/>
34
35
36
37
38
39
40
  <Separator/>
  <Action name="sort"/>
  <Action name="recursivesort"/>
  </Menu>

<Menu name="bookmark"><text>&amp;Bookmark</text>
  <Action name="newbookmark"/>
41
42
43
</Menu>

<Menu name="settings"><text>&amp;Settings</text>
44
<!--  <Action name="settings_splitview" append="save_merge"/> -->
45
46
47
48
49
50
51
</Menu>

</MenuBar>

<ToolBar name="mainToolBar" noMerge="1" fullWidth="true"><text>Main Toolbar</text>
  <Action name="edit_undo"/>
  <Action name="edit_redo"/>
52
  <Separator/>
53
54
55
56
57
  <Action name="newbookmark"/>
  <Action name="newfolder"/>
</ToolBar>

<Menu name="popup_folder">
58
  <!-- Stuff for folders -->
59
60
61
  <Action name="setastoolbar"/>
  <Action name="sort"/>
  <Action name="recursivesort"/>
62
63
   <Separator/>
  <Action name="testlink"/>
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
  <Separator/><!-- Clipboard -->
  <Action name="edit_undo"/>
  <Action name="edit_redo"/>
  <Action name="edit_cut"/>
  <Action name="edit_copy"/>
  <Action name="edit_paste"/>
  <Separator/><!-- Edition -->
  <Action name="rename"/>
  <Action name="changeurl"/>
  <Action name="changeicon"/>
  <Separator/><!-- Creation -->
  <Action name="newbookmark"/>
  <Action name="newfolder"/>
  <Action name="insertseparator"/>
  <Separator/><!-- Dangerous actions :/ -->
  <Action name="delete"/>
</Menu>

<Menu name="popup_bookmark">
  <!-- Stuff for bookmarks -->
  <Separator/><!-- Clipboard stuff -->
  <Action name="edit_undo"/>
  <Action name="edit_redo"/>
  <Action name="edit_cut"/>
  <Action name="edit_copy"/>
  <Action name="edit_paste"/>
  <Separator/><!-- Edition -->
  <Action name="rename"/>
  <Action name="changeurl"/>
  <Action name="changeicon"/>
  <Separator/><!-- Creation -->
  <Action name="newbookmark"/>
  <Action name="newfolder"/>
  <Action name="insertseparator"/>
  <Separator/><!-- Dangerous actions :/ -->
  <Action name="delete"/>
</Menu>

102
<!--         APPLICATION STATES        -->
103
104

<State name="notreadonly">
105
  <Enable>
106
    <Action name="settings_saveonclose"/>
107
  </Enable>
108
109
110
</State>

<State name="normal">
111
  <Enable>
112
    <Action name="file_open"/>
113
    <Action name="file_save_as"/>
114
115
116
    <Action name="file_quit"/>
    <Action name="expandall"/>
    <Action name="collapseall"/>
117
  </Enable>
118
119
120
</State>

<State name="disablestuff">
121
  <Disable>
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
    <Action name="changecomment"/>
    <Action name="changeicon"/>
    <Action name="changeurl"/>
    <Action name="delete"/>
    <Action name="edit_copy"/>
    <Action name="edit_cut"/>
    <Action name="edit_paste"/>
    <Action name="edit_redo"/>
    <Action name="edit_undo"/>
    <Action name="insertseparator"/>
    <Action name="newbookmark"/>
    <Action name="newfolder"/>
    <Action name="nexthit"/>
    <Action name="openlink"/>
    <Action name="rename"/>
    <Action name="setastoolbar"/>
    <Action name="sort"/>
    <Action name="recursivesort"/>
140
141
    <Action name="settings_saveonclose"/>
  </Disable>
142
143
</State>

144
</gui>