Merge commit 'origin/master' into sso
[pspp-builds.git] / src / ui / gui / syntax-editor.ui
1 <?xml version="1.0"?>
2 <!--*- mode: xml -*-->
3 <interface>
4   <object class="GtkUIManager" id="uimanager1">
5     <child>
6       <object class="GtkActionGroup" id="actiongroup1">
7         <child>
8           <object class="GtkAction" id="menu_syntax_file">
9             <property name="name">menu_syntax_file</property>
10             <property name="label" translatable="yes">_File</property>
11           </object>
12         </child>
13         <child>
14           <object class="GtkAction" id="new2">
15             <property name="stock-id">gtk-new</property>
16             <property name="name">new2</property>
17           </object>
18         </child>
19         <child>
20           <object class="GtkAction" id="file_new_syntax">
21             <property name="name">file_new_syntax</property>
22             <property name="label" translatable="yes">_Syntax</property>
23           </object>
24         </child>
25         <child>
26           <object class="GtkAction" id="file_new_data">
27             <property name="name">file_new_data</property>
28             <property name="label" translatable="yes">_Data</property>
29           </object>
30         </child>
31         <child>
32           <object class="GtkAction" id="open2">
33             <property name="stock-id">gtk-open</property>
34             <property name="name">open2</property>
35           </object>
36         </child>
37         <child>
38           <object class="GtkAction" id="file_open_syntax">
39             <property name="name">file_open_syntax</property>
40             <property name="label" translatable="yes">_Syntax</property>
41           </object>
42         </child>
43         <child>
44           <object class="GtkAction" id="file_open_data">
45             <property name="name">file_open_data</property>
46             <property name="label" translatable="yes">_Data</property>
47           </object>
48         </child>
49         <child>
50           <object class="GtkAction" id="file_save">
51             <property name="stock-id">gtk-save</property>
52             <property name="name">file_save</property>
53           </object>
54         </child>
55         <child>
56           <object class="GtkAction" id="file_save_as">
57             <property name="stock-id">gtk-save-as</property>
58             <property name="name">file_save_as</property>
59           </object>
60         </child>
61         <child>
62           <object class="GtkAction" id="file_print">
63             <property name="name">file_print</property>
64             <property name="stock-id">gtk-print</property>
65           </object>
66         </child>
67         <child>
68           <object class="GtkAction" id="file_quit">
69             <property name="stock-id">gtk-quit</property>
70             <property name="name">file_quit</property>
71           </object>
72         </child>
73         <child>
74           <object class="GtkAction" id="menuitem7">
75             <property name="name">menuitem7</property>
76             <property name="label" translatable="yes">_Edit</property>
77           </object>
78         </child>
79         <child>
80           <object class="GtkAction" id="edit_cut">
81             <property name="stock-id">gtk-cut</property>
82             <property name="name">edit_cut</property>
83             <property name="sensitive">false</property>
84           </object>
85         </child>
86         <child>
87           <object class="GtkAction" id="edit_copy">
88             <property name="stock-id">gtk-copy</property>
89             <property name="name">edit_copy</property>
90             <property name="sensitive">false</property>
91           </object>
92         </child>
93         <child>
94           <object class="GtkAction" id="edit_paste">
95             <property name="stock-id">gtk-paste</property>
96             <property name="name">edit_paste</property>
97             <property name="sensitive">false</property>
98           </object>
99         </child>
100         <child>
101           <object class="GtkAction" id="edit_delete">
102             <property name="stock-id">gtk-delete</property>
103             <property name="name">edit_delete</property>
104             <property name="sensitive">false</property>
105           </object>
106         </child>
107         <child>
108           <object class="GtkAction" id="edit_undo">
109             <property name="stock-id">gtk-undo</property>
110             <property name="name">edit_undo</property>
111           </object>
112         </child>
113         <child>
114           <object class="GtkAction" id="edit_redo">
115             <property name="stock-id">gtk-redo</property>
116             <property name="name">edit_redo</property>
117           </object>
118         </child>
119         <child>
120           <object class="GtkAction" id="run1">
121             <property name="name">run1</property>
122             <property name="label" translatable="yes">_Run</property>
123           </object>
124         </child>
125         <child>
126           <object class="GtkAction" id="run_all">
127             <property name="name">run_all</property>
128             <property name="label" translatable="yes">All</property>
129           </object>
130         </child>
131         <child>
132           <object class="GtkAction" id="run_selection">
133             <property name="name">run_selection</property>
134             <property name="label" translatable="yes">Selection</property>
135           </object>
136         </child>
137         <child>
138           <object class="GtkAction" id="run_current_line">
139             <property name="name">run_current_line</property>
140             <property name="label" translatable="yes">Current Line</property>
141           </object>
142           <accelerator key="R" modifiers="GDK_CONTROL_MASK"/>
143         </child>
144         <child>
145           <object class="GtkAction" id="run_to_end">
146             <property name="name">run_to_end</property>
147             <property name="label" translatable="yes">To End</property>
148           </object>
149         </child>
150         <child>
151           <object class="GtkAction" id="windows">
152             <property name="name">windows</property>
153             <property name="label" translatable="yes">_Windows</property>
154           </object>
155         </child>
156         <child>
157           <object class="GtkAction" id="windows_minimise_all">
158             <property name="name">windows_minimise_all</property>
159             <property name="label" translatable="yes">_Minimize All Windows</property>
160           </object>
161         </child>
162       </object>
163     </child>
164     <ui>
165       <menubar name="menubar">
166         <menu action="menu_syntax_file">
167           <menu action="new2">
168             <menuitem action="file_new_syntax"/>
169             <menuitem action="file_new_data"/>
170           </menu>
171           <menu action="open2">
172             <menuitem action="file_open_syntax"/>
173             <menuitem action="file_open_data"/>
174           </menu>
175           <menuitem action="file_save"/>
176           <menuitem action="file_save_as"/>
177           <separator/>
178           <menuitem action="file_print"/>
179           <separator/>
180           <menuitem action="file_quit"/>
181         </menu>
182         <menu action="menuitem7">
183           <menuitem action="edit_cut"/>
184           <menuitem action="edit_copy"/>
185           <menuitem action="edit_paste"/>
186           <menuitem action="edit_delete"/>
187           <separator/>
188           <menuitem action="edit_undo"/>
189           <menuitem action="edit_redo"/>
190         </menu>
191         <menu action="run1">
192           <menuitem action="run_all"/>
193           <menuitem action="run_selection"/>
194           <menuitem action="run_current_line"/>
195           <menuitem action="run_to_end"/>
196         </menu>
197         <menu action="windows">
198           <menuitem action="windows_minimise_all"/>
199         </menu>
200       </menubar>
201     </ui>
202   </object>
203   <object class="GtkMenuBar" constructor="uimanager1" id="menubar">
204     <property name="visible">True</property>
205     <property name="pack_direction">GTK_PACK_DIRECTION_LTR</property>
206     <property name="child_pack_direction">GTK_PACK_DIRECTION_LTR</property>
207   </object>
208   <object class="GtkScrolledWindow" id="scrolledwindow8">
209     <property name="visible">True</property>
210     <property name="can_focus">True</property>
211     <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
212     <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
213     <property name="shadow_type">GTK_SHADOW_IN</property>
214     <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
215     <child>
216       <object class="GtkSourceView" id="syntax_text_view">
217         <property name="visible">True</property>
218         <property name="can_focus">True</property>
219         <property name="editable">True</property>
220         <property name="overwrite">False</property>
221         <property name="accepts_tab">True</property>
222         <property name="justification">GTK_JUSTIFY_LEFT</property>
223         <property name="wrap_mode">GTK_WRAP_NONE</property>
224         <property name="cursor_visible">True</property>
225         <property name="pixels_above_lines">0</property>
226         <property name="pixels_below_lines">0</property>
227         <property name="pixels_inside_wrap">0</property>
228         <property name="left_margin">0</property>
229         <property name="right_margin">0</property>
230         <property name="indent">0</property>
231       </object>
232     </child>
233   </object>
234   <object class="GtkStatusbar" id="statusbar2">
235     <property name="visible">True</property>
236     <property name="has_resize_grip">True</property>
237   </object>
238 </interface>