gui: Add ellipsis to menu items that require further input.
[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="file_open">
33             <property name="stock-id">gtk-open</property>
34             <property name="name">file_open</property>
35             <property name="label" translatable="yes">_Open...</property>
36           </object>
37         </child>
38         <child>
39           <object class="GtkAction" id="file_save">
40             <property name="stock-id">gtk-save</property>
41             <property name="name">file_save</property>
42           </object>
43         </child>
44         <child>
45           <object class="GtkAction" id="file_save_as">
46             <property name="stock-id">gtk-save-as</property>
47             <property name="name">file_save_as</property>
48             <property name="label" translatable="yes">Save _As...</property>
49           </object>
50         </child>
51         <child>
52           <object class="GtkAction" id="file_quit">
53             <property name="stock-id">gtk-quit</property>
54             <property name="name">file_quit</property>
55           </object>
56         </child>
57         <child>
58           <object class="GtkAction" id="menuitem7">
59             <property name="name">menuitem7</property>
60             <property name="label" translatable="yes">_Edit</property>
61           </object>
62         </child>
63         <child>
64           <object class="GtkAction" id="edit_cut">
65             <property name="stock-id">gtk-cut</property>
66             <property name="name">edit_cut</property>
67             <property name="sensitive">false</property>
68           </object>
69         </child>
70         <child>
71           <object class="GtkAction" id="edit_copy">
72             <property name="stock-id">gtk-copy</property>
73             <property name="name">edit_copy</property>
74             <property name="sensitive">false</property>
75           </object>
76         </child>
77         <child>
78           <object class="GtkAction" id="edit_paste">
79             <property name="stock-id">gtk-paste</property>
80             <property name="name">edit_paste</property>
81             <property name="sensitive">false</property>
82           </object>
83         </child>
84         <child>
85           <object class="GtkAction" id="edit_delete">
86             <property name="stock-id">gtk-delete</property>
87             <property name="name">edit_delete</property>
88             <property name="sensitive">false</property>
89           </object>
90         </child>
91         <child>
92           <object class="GtkAction" id="run1">
93             <property name="name">run1</property>
94             <property name="label" translatable="yes">_Run</property>
95           </object>
96         </child>
97         <child>
98           <object class="GtkAction" id="run_all">
99             <property name="name">run_all</property>
100             <property name="label" translatable="yes">All</property>
101           </object>
102         </child>
103         <child>
104           <object class="GtkAction" id="run_selection">
105             <property name="name">run_selection</property>
106             <property name="label" translatable="yes">Selection</property>
107           </object>
108         </child>
109         <child>
110           <object class="GtkAction" id="run_current_line">
111             <property name="name">run_current_line</property>
112             <property name="label" translatable="yes">Current Line</property>
113           </object>
114           <accelerator key="R" modifiers="GDK_CONTROL_MASK"/>
115         </child>
116         <child>
117           <object class="GtkAction" id="run_to_end">
118             <property name="name">run_to_end</property>
119             <property name="label" translatable="yes">To End</property>
120           </object>
121         </child>
122         <child>
123           <object class="GtkAction" id="windows">
124             <property name="name">windows</property>
125             <property name="label" translatable="yes">_Windows</property>
126           </object>
127         </child>
128         <child>
129           <object class="GtkAction" id="windows_minimise_all">
130             <property name="name">windows_minimise_all</property>
131             <property name="label" translatable="yes">_Minimize All Windows</property>
132           </object>
133         </child>
134       </object>
135     </child>
136     <ui>
137       <menubar name="menubar">
138         <menu action="menu_syntax_file">
139           <menu action="new2">
140             <menuitem action="file_new_syntax"/>
141             <menuitem action="file_new_data"/>
142           </menu>
143           <menuitem action="file_open"/>
144           <menuitem action="file_save"/>
145           <menuitem action="file_save_as"/>
146           <separator/>
147           <menuitem action="file_quit"/>
148         </menu>
149         <menu action="menuitem7">
150           <menuitem action="edit_cut"/>
151           <menuitem action="edit_copy"/>
152           <menuitem action="edit_paste"/>
153           <menuitem action="edit_delete"/>
154         </menu>
155         <menu action="run1">
156           <menuitem action="run_all"/>
157           <menuitem action="run_selection"/>
158           <menuitem action="run_current_line"/>
159           <menuitem action="run_to_end"/>
160         </menu>
161         <menu action="windows">
162           <menuitem action="windows_minimise_all"/>
163         </menu>
164       </menubar>
165     </ui>
166   </object>
167   <object class="GtkMenuBar" constructor="uimanager1" id="menubar">
168     <property name="visible">True</property>
169     <property name="pack_direction">GTK_PACK_DIRECTION_LTR</property>
170     <property name="child_pack_direction">GTK_PACK_DIRECTION_LTR</property>
171   </object>
172   <object class="GtkScrolledWindow" id="scrolledwindow8">
173     <property name="visible">True</property>
174     <property name="can_focus">True</property>
175     <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
176     <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
177     <property name="shadow_type">GTK_SHADOW_IN</property>
178     <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
179     <child>
180       <object class="GtkTextView" id="syntax_text_view">
181         <property name="visible">True</property>
182         <property name="can_focus">True</property>
183         <property name="editable">True</property>
184         <property name="overwrite">False</property>
185         <property name="accepts_tab">True</property>
186         <property name="justification">GTK_JUSTIFY_LEFT</property>
187         <property name="wrap_mode">GTK_WRAP_NONE</property>
188         <property name="cursor_visible">True</property>
189         <property name="pixels_above_lines">0</property>
190         <property name="pixels_below_lines">0</property>
191         <property name="pixels_inside_wrap">0</property>
192         <property name="left_margin">0</property>
193         <property name="right_margin">0</property>
194         <property name="indent">0</property>
195       </object>
196     </child>
197   </object>
198   <object class="GtkStatusbar" id="statusbar2">
199     <property name="visible">True</property>
200     <property name="has_resize_grip">True</property>
201   </object>
202 </interface>