Merge 'master' into 'gtk3'.
[pspp] / src / ui / gui / data-sheet.ui
1 <?xml version="1.0"?>
2 <interface>
3   <object class="GtkUIManager" id="data_sheet_uim">
4     <ui>
5       <menubar name="menubar">
6         <placeholder name="DataSheetEditMenu">
7           <menu name="edit" action="edit2">
8             <menuitem action="edit_insert-variable"/>
9             <menuitem action="edit_insert-case"/>
10             <menuitem action="edit_goto-variable"/>
11             <menuitem action="edit_goto-case"/>
12             <separator/>
13             <menuitem action="edit_cut"/>
14             <menuitem action="edit_copy"/>
15             <menuitem action="edit_paste"/>
16             <menuitem action="edit_clear-variables"/>
17             <menuitem action="edit_clear-cases"/>
18             <separator/>
19             <menuitem action="edit_find"/>
20           </menu>
21         </placeholder>
22       </menubar>
23       <toolbar name="toolbar">
24         <placeholder name="DataSheetToolItems">
25           <toolitem name="toolbar_goto-variable" action="edit_goto-variable"/>
26           <toolitem name="toolbar_goto-case" action="edit_goto-case"/>
27           <toolitem name="toolbar_find" action="edit_find"/>
28           <toolitem name="toolbar_insert-cases" action="edit_insert-case"/>
29           <toolitem name="toolbar_insert-variable" action="edit_insert-variable"/>
30         </placeholder>
31       </toolbar>
32       <popup name="datasheet-variable-popup">
33         <menuitem action="edit_insert-variable"/>
34         <separator/>
35         <menuitem action="edit_clear-variables"/>
36         <separator/>
37         <menuitem action="sort-up"/>
38         <menuitem action="sort-down"/>
39       </popup>
40       <popup name="datasheet-cases-popup">
41         <menuitem action="edit_insert-case"/>
42         <separator/>
43         <menuitem action="edit_clear-cases"/>
44       </popup>
45     </ui>
46     <child>
47       <object class="GtkActionGroup" id="actiongroup3">
48         <child>
49           <object class="GtkAction" id="edit2">
50             <property name="name">edit</property>
51             <property name="label" translatable="yes">_Edit</property>
52           </object>
53         </child>
54         <child>
55           <object class="GtkAction" id="edit_insert-variable">
56             <property name="name">edit_insert-variable</property>
57             <property name="label" translatable="yes">Insert Variable</property>
58             <property name="tooltip" translatable="yes">Create a new variable at the current position</property>
59             <property name="stock-id">edit-insert-variable</property>
60           </object>
61         </child>
62         <child>
63           <object class="GtkAction" id="edit_insert-case">
64             <property name="name">edit_insert-case</property>
65             <property name="label" translatable="yes">Insert Case</property>
66             <property name="tooltip" translatable="yes">Create a new case at the current position</property>
67             <property name="stock-id">edit-insert-case</property>
68           </object>
69         </child>
70         <child>
71           <object class="PsppireDialogActionVarInfo" id="edit_goto-variable">
72             <property name="name">edit_goto-variable</property>
73             <property name="label" translatable="yes">Go To Variable...</property>
74             <property name="tooltip" translatable="yes">Jump to variable</property>
75             <property name="stock-id">edit-go-to-variable</property>
76           </object>
77         </child>
78         <child>
79           <object class="GtkAction" id="edit_goto-case">
80             <property name="label" translatable="yes">Go To Case...</property>
81             <property name="name">edit_goto-case</property>
82             <property name="tooltip" translatable="yes">Jump to a case in the data sheet</property>
83             <property name="stock-id">edit-go-to-case</property>
84
85           </object>
86         </child>
87         <child>
88           <object class="GtkAction" id="edit_cut">
89             <property name="stock-id">edit-cut</property>
90             <property name="name">edit_cut</property>
91           </object>
92         </child>
93         <child>
94           <object class="GtkAction" id="edit_copy">
95             <property name="stock-id">edit-copy</property>
96             <property name="name">edit_copy</property>
97           </object>
98         </child>
99         <child>
100           <object class="GtkAction" id="edit_paste">
101             <property name="stock-id">edit-paste</property>
102             <property name="name">edit_paste</property>
103           </object>
104         </child>
105         <child>
106           <object class="GtkAction" id="edit_clear-variables">
107             <property name="name">edit_clear-variables</property>
108             <property name="label" translatable="yes">Cl_ear Variables</property>
109             <property name="tooltip" translatable="yes">Delete the variables at the selected position(s)</property>
110             <property name="stock-id">edit-clear</property>
111           </object>
112         </child>
113         <child>
114           <object class="GtkAction" id="edit_clear-cases">
115             <property name="name">edit_clear-cases</property>
116             <property name="stock-id">edit-clear</property>
117             <property name="label" translatable="yes">_Clear Cases</property>
118             <property name="tooltip" translatable="yes">Delete the cases at the selected position(s)</property>
119           </object>
120         </child>
121         <child>
122           <object class="GtkAction" id="edit_find">
123             <property name="stock-id">edit-find</property>
124             <property name="name">edit_find</property>
125             <property name="label" translatable="yes">_Find...</property>
126           </object>
127         </child>
128         <child>
129           <object class="GtkAction" id="sort-up">
130             <property name="stock-id">data-sort-ascending</property>
131             <property name="name">sort_ascending</property>
132             <property name="label" translatable="yes">Sort _Ascending</property>
133           </object>
134         </child>
135         <child>
136           <object class="GtkAction" id="sort-down">
137             <property name="stock-id">data-sort-descending</property>
138             <property name="name">sort_descending</property>
139             <property name="label" translatable="yes">Sort _Descending</property>
140           </object>
141         </child>
142       </object>
143     </child>
144   </object>
145   <object class="GtkMenu" constructor="data_sheet_uim" id="datasheet-cases-popup">
146     <property name="visible">True</property>
147   </object>
148   <object class="GtkMenu" constructor="data_sheet_uim" id="datasheet-variable-popup">
149     <property name="visible">True</property>
150   </object>
151 </interface>