Avoid potential negative array index access to cached text.
[LibreOffice.git] / sc / uiconfig / scalc / ui / selectdatasource.ui
blob84a92907b892fc5ee9234d50f39f51dc511cefdb
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Generated with glade 3.36.0 -->
3 <interface domain="sc">
4 <requires lib="gtk+" version="3.20"/>
5 <object class="GtkDialog" id="SelectDataSourceDialog">
6 <property name="can_focus">False</property>
7 <property name="border_width">6</property>
8 <property name="title" translatable="yes" context="selectdatasource|SelectDataSourceDialog">Select Data Source</property>
9 <property name="modal">True</property>
10 <property name="default_width">0</property>
11 <property name="default_height">0</property>
12 <property name="type_hint">dialog</property>
13 <child internal-child="vbox">
14 <object class="GtkBox" id="dialog-vbox3">
15 <property name="can_focus">False</property>
16 <property name="orientation">vertical</property>
17 <property name="spacing">12</property>
18 <child internal-child="action_area">
19 <object class="GtkButtonBox" id="dialog-action_area3">
20 <property name="can_focus">False</property>
21 <property name="layout_style">end</property>
22 <child>
23 <object class="GtkButton" id="ok">
24 <property name="label" translatable="yes" context="stock">_OK</property>
25 <property name="visible">True</property>
26 <property name="can_focus">True</property>
27 <property name="can_default">True</property>
28 <property name="has_default">True</property>
29 <property name="receives_default">True</property>
30 <property name="use-underline">True</property>
31 </object>
32 <packing>
33 <property name="expand">False</property>
34 <property name="fill">True</property>
35 <property name="position">0</property>
36 </packing>
37 </child>
38 <child>
39 <object class="GtkButton" id="cancel">
40 <property name="label" translatable="yes" context="stock">_Cancel</property>
41 <property name="visible">True</property>
42 <property name="can_focus">True</property>
43 <property name="receives_default">True</property>
44 <property name="use-underline">True</property>
45 </object>
46 <packing>
47 <property name="expand">False</property>
48 <property name="fill">True</property>
49 <property name="position">1</property>
50 </packing>
51 </child>
52 <child>
53 <object class="GtkButton" id="help">
54 <property name="label" translatable="yes" context="stock">_Help</property>
55 <property name="visible">True</property>
56 <property name="can_focus">True</property>
57 <property name="receives_default">True</property>
58 <property name="use-underline">True</property>
59 </object>
60 <packing>
61 <property name="expand">False</property>
62 <property name="fill">True</property>
63 <property name="position">2</property>
64 <property name="secondary">True</property>
65 </packing>
66 </child>
67 </object>
68 <packing>
69 <property name="expand">False</property>
70 <property name="fill">True</property>
71 <property name="pack_type">end</property>
72 <property name="position">0</property>
73 </packing>
74 </child>
75 <child>
76 <object class="GtkFrame" id="Selection">
77 <property name="visible">True</property>
78 <property name="can_focus">False</property>
79 <property name="hexpand">True</property>
80 <property name="label_xalign">0</property>
81 <property name="shadow_type">none</property>
82 <child>
83 <!-- n-columns=1 n-rows=1 -->
84 <object class="GtkGrid" id="grid1">
85 <property name="visible">True</property>
86 <property name="can_focus">False</property>
87 <property name="hexpand">True</property>
88 <property name="row_spacing">6</property>
89 <property name="column_spacing">12</property>
90 <property name="margin-start">12</property>
91 <property name="margin-top">6</property>
92 <child>
93 <object class="GtkLabel" id="label2">
94 <property name="visible">True</property>
95 <property name="can_focus">False</property>
96 <property name="label" translatable="yes" context="selectdatasource|label2">_Database:</property>
97 <property name="use_underline">True</property>
98 <property name="mnemonic_widget">database</property>
99 <property name="xalign">0</property>
100 </object>
101 <packing>
102 <property name="left_attach">0</property>
103 <property name="top_attach">0</property>
104 </packing>
105 </child>
106 <child>
107 <object class="GtkLabel" id="label4">
108 <property name="visible">True</property>
109 <property name="can_focus">False</property>
110 <property name="label" translatable="yes" context="selectdatasource|label4">_Type:</property>
111 <property name="use_underline">True</property>
112 <property name="mnemonic_widget">type</property>
113 <property name="xalign">0</property>
114 </object>
115 <packing>
116 <property name="left_attach">0</property>
117 <property name="top_attach">1</property>
118 </packing>
119 </child>
120 <child>
121 <object class="GtkComboBoxText" id="database">
122 <property name="visible">True</property>
123 <property name="can_focus">False</property>
124 <property name="hexpand">True</property>
125 <child internal-child="accessible">
126 <object class="AtkObject" id="database-atkobject">
127 <property name="AtkObject::accessible-description" translatable="yes" context="selectdatasource|extended_tip|database">Select the database that contains the data source that you want to use.</property>
128 </object>
129 </child>
130 </object>
131 <packing>
132 <property name="left_attach">1</property>
133 <property name="top_attach">0</property>
134 </packing>
135 </child>
136 <child>
137 <object class="GtkComboBoxText" id="type">
138 <property name="visible">True</property>
139 <property name="can_focus">False</property>
140 <property name="hexpand">True</property>
141 <items>
142 <item translatable="yes" context="selectdatasource|type">Table</item>
143 <item translatable="yes" context="selectdatasource|type">Query</item>
144 <item translatable="yes" context="selectdatasource|type">Sql</item>
145 <item translatable="yes" context="selectdatasource|type">Sql [Native]</item>
146 </items>
147 <child internal-child="accessible">
148 <object class="AtkObject" id="type-atkobject">
149 <property name="AtkObject::accessible-description" translatable="yes" context="selectdatasource|extended_tip|type">Click the source type of for the selected data source.</property>
150 </object>
151 </child>
152 </object>
153 <packing>
154 <property name="left_attach">1</property>
155 <property name="top_attach">1</property>
156 </packing>
157 </child>
158 <child>
159 <object class="GtkLabel" id="label3">
160 <property name="visible">True</property>
161 <property name="can_focus">False</property>
162 <property name="label" translatable="yes" context="selectdatasource|label3">Data so_urce:</property>
163 <property name="use_underline">True</property>
164 <property name="mnemonic_widget">datasource</property>
165 <property name="xalign">0</property>
166 </object>
167 <packing>
168 <property name="left_attach">0</property>
169 <property name="top_attach">2</property>
170 </packing>
171 </child>
172 <child>
173 <object class="GtkComboBoxText" id="datasource">
174 <property name="visible">True</property>
175 <property name="can_focus">False</property>
176 <property name="hexpand">True</property>
177 <property name="has_entry">True</property>
178 <child internal-child="entry">
179 <object class="GtkEntry" id="comboboxtext-entry">
180 <property name="can_focus">True</property>
181 <property name="truncate-multiline">True</property>
182 <property name="activates_default">True</property>
183 </object>
184 </child>
185 <child internal-child="accessible">
186 <object class="AtkObject" id="datasource-atkobject">
187 <property name="AtkObject::accessible-description" translatable="yes" context="selectdatasource|extended_tip|datasource">Select the data source that you want to use.</property>
188 </object>
189 </child>
190 </object>
191 <packing>
192 <property name="left_attach">1</property>
193 <property name="top_attach">2</property>
194 </packing>
195 </child>
196 </object>
197 </child>
198 <child type="label">
199 <object class="GtkLabel" id="label1">
200 <property name="visible">True</property>
201 <property name="can_focus">False</property>
202 <property name="label" translatable="yes" context="selectdatasource|label1">Selection</property>
203 <attributes>
204 <attribute name="weight" value="bold"/>
205 </attributes>
206 </object>
207 </child>
208 </object>
209 <packing>
210 <property name="expand">False</property>
211 <property name="fill">True</property>
212 <property name="position">1</property>
213 </packing>
214 </child>
215 </object>
216 </child>
217 <action-widgets>
218 <action-widget response="-5">ok</action-widget>
219 <action-widget response="-6">cancel</action-widget>
220 <action-widget response="-11">help</action-widget>
221 </action-widgets>
222 <child type="titlebar">
223 <placeholder/>
224 </child>
225 </object>
226 </interface>