~khurshid-alam/unity-control-center/libnm-port-test

« back to all changes in this revision

Viewing changes to panels/network/connection-editor/ip4-page.ui

  • Committer: Khurshid Alam
  • Date: 2018-06-05 14:47:56 UTC
  • Revision ID: khurshid.alam@linuxmail.org-20180605144756-or0tftb2kddhvhq2
Update connection editor pages and wireless security from Gnome-3.26

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
        <property name="visible">True</property>
11
11
        <property name="can_focus">False</property>
12
12
        <child>
13
 
          <object class="GtkBox" id="box2">
 
13
          <object class="GtkGrid">
14
14
            <property name="visible">True</property>
15
15
            <property name="can_focus">False</property>
16
 
            <property name="margin_start">20</property>
17
 
            <property name="margin_end">20</property>
18
 
            <property name="margin_top">10</property>
19
 
            <property name="margin_bottom">10</property>
 
16
            <property name="margin_start">24</property>
 
17
            <property name="margin_end">24</property>
 
18
            <property name="margin_top">24</property>
 
19
            <property name="margin_bottom">24</property>
20
20
            <property name="orientation">vertical</property>
21
 
            <property name="spacing">10</property>
 
21
            <property name="row-spacing">6</property>
 
22
            <property name="column-spacing">6</property>
22
23
            <child>
23
 
              <object class="GtkBox" id="box5">
 
24
              <object class="GtkLabel" id="heading_enable">
24
25
                <property name="visible">True</property>
25
26
                <property name="can_focus">False</property>
26
 
                <child>
27
 
                  <object class="GtkLabel" id="heading_enable">
28
 
                    <property name="visible">True</property>
29
 
                    <property name="can_focus">False</property>
30
 
                    <property name="label" translatable="yes">IPv_4</property>
31
 
                    <property name="use_underline">True</property>
32
 
                    <property name="mnemonic_widget">switch_enable</property>
33
 
                    <attributes>
34
 
                      <attribute name="weight" value="bold"/>
35
 
                    </attributes>
36
 
                  </object>
37
 
                  <packing>
38
 
                    <property name="expand">False</property>
39
 
                    <property name="fill">True</property>
40
 
                    <property name="position">0</property>
41
 
                  </packing>
42
 
                </child>
43
 
                <child>
44
 
                  <object class="GtkSwitch" id="switch_enable">
45
 
                    <property name="visible">True</property>
46
 
                    <property name="can_focus">True</property>
47
 
                    <property name="halign">end</property>
48
 
                    <property name="hexpand">True</property>
49
 
                  </object>
50
 
                  <packing>
51
 
                    <property name="expand">False</property>
52
 
                    <property name="fill">True</property>
53
 
                    <property name="position">1</property>
54
 
                  </packing>
55
 
                </child>
56
 
              </object>
57
 
              <packing>
58
 
                <property name="expand">False</property>
59
 
                <property name="fill">True</property>
60
 
                <property name="position">0</property>
 
27
                <property name="label" translatable="yes">IPv_4 Method</property>
 
28
                <property name="use_underline">True</property>
 
29
                <property name="mnemonic_widget">radio_disabled</property>
 
30
                <property name="xalign">0.0</property>
 
31
                <attributes>
 
32
                  <attribute name="weight" value="bold"/>
 
33
                </attributes>
 
34
              </object>
 
35
              <packing>
 
36
                <property name="top-attach">0</property>
 
37
                <property name="left-attach">0</property>
 
38
              </packing>
 
39
            </child>
 
40
            <child>
 
41
              <object class="GtkRadioButton" id="radio_automatic">
 
42
                <property name="label" translatable="yes">Automatic (DHCP)</property>
 
43
                <property name="visible">True</property>
 
44
                <property name="can_focus">True</property>
 
45
                <property name="receives_default">False</property>
 
46
                <property name="draw_indicator">True</property>
 
47
              </object>
 
48
              <packing>
 
49
                <property name="top-attach">0</property>
 
50
                <property name="left-attach">1</property>
 
51
              </packing>
 
52
            </child>
 
53
            <child>
 
54
              <object class="GtkRadioButton" id="radio_local">
 
55
                <property name="label" translatable="yes">Link-Local Only</property>
 
56
                <property name="visible">True</property>
 
57
                <property name="can_focus">True</property>
 
58
                <property name="receives_default">False</property>
 
59
                <property name="draw_indicator">True</property>
 
60
                <property name="group">radio_automatic</property>
 
61
              </object>
 
62
              <packing>
 
63
                <property name="top-attach">0</property>
 
64
                <property name="left-attach">2</property>
 
65
              </packing>
 
66
            </child>
 
67
            <child>
 
68
              <object class="GtkRadioButton" id="radio_manual">
 
69
                <property name="label" translatable="yes">Manual</property>
 
70
                <property name="visible">True</property>
 
71
                <property name="can_focus">True</property>
 
72
                <property name="receives_default">False</property>
 
73
                <property name="draw_indicator">True</property>
 
74
                <property name="group">radio_automatic</property>
 
75
              </object>
 
76
              <packing>
 
77
                <property name="top-attach">1</property>
 
78
                <property name="left-attach">1</property>
 
79
              </packing>
 
80
            </child>
 
81
            <child>
 
82
              <object class="GtkRadioButton" id="radio_disabled">
 
83
                <property name="label" translatable="yes">Disable</property>
 
84
                <property name="visible">True</property>
 
85
                <property name="can_focus">True</property>
 
86
                <property name="receives_default">False</property>
 
87
                <property name="draw_indicator">True</property>
 
88
                <property name="group">radio_automatic</property>
 
89
              </object>
 
90
              <packing>
 
91
                <property name="top-attach">1</property>
 
92
                <property name="left-attach">2</property>
61
93
              </packing>
62
94
            </child>
63
95
            <child>
65
97
                <property name="visible">True</property>
66
98
                <property name="can_focus">False</property>
67
99
                <property name="orientation">vertical</property>
68
 
                <property name="spacing">10</property>
69
 
                <child>
70
 
                  <object class="GtkBox" id="box7">
71
 
                    <property name="visible">True</property>
72
 
                    <property name="can_focus">False</property>
73
 
                    <child>
74
 
                      <object class="GtkLabel" id="heading_addresses">
75
 
                        <property name="visible">True</property>
76
 
                        <property name="can_focus">False</property>
77
 
                        <property name="label" translatable="yes">_Addresses</property>
78
 
                        <property name="use_underline">True</property>
79
 
                        <property name="mnemonic_widget">combo_addresses</property>
80
 
                        <attributes>
81
 
                          <attribute name="weight" value="bold"/>
82
 
                        </attributes>
83
 
                      </object>
84
 
                      <packing>
85
 
                        <property name="expand">False</property>
86
 
                        <property name="fill">True</property>
87
 
                        <property name="position">0</property>
88
 
                      </packing>
89
 
                    </child>
90
 
                    <child>
91
 
                      <object class="GtkComboBoxText" id="combo_addresses">
92
 
                        <property name="visible">True</property>
93
 
                        <property name="can_focus">False</property>
94
 
                        <property name="halign">end</property>
95
 
                        <property name="hexpand">True</property>
96
 
                        <property name="entry_text_column">0</property>
97
 
                        <property name="id_column">1</property>
98
 
                      </object>
99
 
                      <packing>
100
 
                        <property name="expand">False</property>
101
 
                        <property name="fill">True</property>
102
 
                        <property name="position">1</property>
103
 
                      </packing>
104
 
                    </child>
105
 
                  </object>
106
 
                  <packing>
107
 
                    <property name="expand">False</property>
108
 
                    <property name="fill">True</property>
109
 
                    <property name="position">0</property>
110
 
                  </packing>
111
 
                </child>
 
100
                <property name="spacing">6</property>
112
101
                <child>
113
102
                  <object class="GtkBox" id="address_section">
114
103
                    <property name="visible">True</property>
115
104
                    <property name="can_focus">False</property>
116
105
                    <property name="orientation">vertical</property>
117
106
                    <child>
118
 
                      <placeholder/>
 
107
                      <object class="GtkLabel">
 
108
                        <property name="visible">True</property>
 
109
                        <property name="can_focus">False</property>
 
110
                        <property name="xalign">0</property>
 
111
                        <property name="label" translatable="yes">Addresses</property>
 
112
                        <property name="margin_top">24</property>
 
113
                        <property name="margin_bottom">8</property>
 
114
                        <attributes>
 
115
                          <attribute name="weight" value="bold"/>
 
116
                        </attributes>
 
117
                      </object>
 
118
                    </child>
 
119
                    <child>
 
120
                      <object class="GtkBox">
 
121
                        <property name="visible">True</property>
 
122
                        <property name="can_focus">False</property>
 
123
                        <property name="orientation">horizontal</property>
 
124
                        <child>
 
125
                          <object class="GtkLabel">
 
126
                            <property name="visible">True</property>
 
127
                            <property name="can_focus">False</property>
 
128
                            <property name="hexpand">True</property>
 
129
                            <property name="label" translatable="yes">Address</property>
 
130
                            <style>
 
131
                              <class name="dim-label" />
 
132
                            </style>
 
133
                            <attributes>
 
134
                              <attribute name="scale" value="0.8"/>
 
135
                            </attributes>
 
136
                          </object>
 
137
                        </child>
 
138
                        <child>
 
139
                          <object class="GtkLabel">
 
140
                            <property name="visible">True</property>
 
141
                            <property name="can_focus">False</property>
 
142
                            <property name="hexpand">True</property>
 
143
                            <property name="label" translatable="yes">Netmask</property>
 
144
                            <style>
 
145
                              <class name="dim-label" />
 
146
                            </style>
 
147
                            <attributes>
 
148
                              <attribute name="scale" value="0.8"/>
 
149
                            </attributes>
 
150
                          </object>
 
151
                        </child>
 
152
                        <child>
 
153
                          <object class="GtkLabel">
 
154
                            <property name="visible">True</property>
 
155
                            <property name="can_focus">False</property>
 
156
                            <property name="hexpand">True</property>
 
157
                            <property name="label" translatable="yes">Gateway</property>
 
158
                            <style>
 
159
                              <class name="dim-label" />
 
160
                            </style>
 
161
                            <attributes>
 
162
                              <attribute name="scale" value="0.8"/>
 
163
                            </attributes>
 
164
                          </object>
 
165
                        </child>
 
166
 
 
167
                        <!-- This invisible box is used to add some width in the
 
168
                             end of the header row, assuming the space used by the
 
169
                             delete button in the rows -->
 
170
                        <child>
 
171
                          <object class="GtkBox" id="address_stub_box">
 
172
                            <property name="visible">True</property>
 
173
                            <property name="can_focus">False</property>
 
174
                          </object>
 
175
                        </child>
 
176
                      </object>
119
177
                    </child>
120
178
                  </object>
121
179
                  <packing>
125
183
                  </packing>
126
184
                </child>
127
185
                <child>
128
 
                  <object class="GtkBox" id="box1">
 
186
                  <object class="GtkBox">
129
187
                    <property name="visible">True</property>
130
188
                    <property name="can_focus">False</property>
131
189
                    <property name="margin_top">24</property>
132
 
                    <property name="margin_bottom">6</property>
133
190
                    <property name="spacing">6</property>
134
191
                    <child>
135
192
                      <object class="GtkLabel" id="heading_dns">
136
193
                        <property name="visible">True</property>
137
194
                        <property name="can_focus">False</property>
 
195
                        <property name="hexpand">True</property>
138
196
                        <property name="xalign">0</property>
139
197
                        <property name="label" translatable="yes">DNS</property>
140
198
                        <attributes>
141
199
                          <attribute name="weight" value="bold"/>
142
200
                        </attributes>
143
201
                      </object>
144
 
                      <packing>
145
 
                        <property name="expand">False</property>
146
 
                        <property name="fill">True</property>
147
 
                        <property name="position">0</property>
148
 
                      </packing>
149
202
                    </child>
150
203
                    <child>
151
 
                      <object class="GtkLabel" id="label1">
 
204
                      <object class="GtkLabel">
152
205
                        <property name="visible">True</property>
153
206
                        <property name="can_focus">False</property>
154
207
                        <property name="hexpand">True</property>
155
208
                        <property name="xalign">1</property>
156
209
                        <property name="label" translatable="yes">Automatic</property>
157
210
                      </object>
158
 
                      <packing>
159
 
                        <property name="expand">False</property>
160
 
                        <property name="fill">True</property>
161
 
                        <property name="position">1</property>
162
 
                      </packing>
163
211
                    </child>
164
212
                    <child>
165
213
                      <object class="GtkSwitch" id="auto_dns_switch">
166
214
                        <property name="visible">True</property>
167
215
                        <property name="can_focus">True</property>
168
216
                        <property name="halign">end</property>
 
217
                        <property name="valign">center</property>
169
218
                        <child internal-child="accessible">
170
219
                          <object class="AtkObject" id="auto_dns_switch-accessible">
171
220
                            <property name="accessible-name" translatable="yes">Automatic DNS</property>
172
221
                          </object>
173
222
                        </child>
174
223
                      </object>
175
 
                      <packing>
176
 
                        <property name="expand">False</property>
177
 
                        <property name="fill">True</property>
178
 
                        <property name="position">2</property>
179
 
                      </packing>
180
224
                    </child>
181
225
                  </object>
182
226
                  <packing>
183
 
                    <property name="expand">False</property>
184
 
                    <property name="fill">True</property>
185
227
                    <property name="position">2</property>
186
228
                  </packing>
187
229
                </child>
188
230
                <child>
189
 
                  <object class="GtkBox" id="dns_section">
 
231
                  <object class="GtkEntry" id="dns_entry">
190
232
                    <property name="visible">True</property>
191
 
                    <property name="can_focus">False</property>
192
 
                    <property name="orientation">vertical</property>
193
 
                    <child>
194
 
                      <placeholder/>
195
 
                    </child>
196
 
                  </object>
 
233
                    <property name="can_focus">True</property>
 
234
                    </object>
197
235
                  <packing>
198
 
                    <property name="expand">False</property>
199
 
                    <property name="fill">True</property>
200
236
                    <property name="position">3</property>
201
237
                  </packing>
202
238
                </child>
203
239
                <child>
204
 
                  <object class="GtkBox" id="box3">
 
240
                  <object class="GtkLabel">
 
241
                    <property name="visible">True</property>
 
242
                    <property name="can_focus">False</property>
 
243
                    <property name="xalign">0</property>
 
244
                    <property name="label" translatable="yes">Separate IP addresses with commas</property>
 
245
                    <style>
 
246
                      <class name="dim-label" />
 
247
                    </style>
 
248
                    <attributes>
 
249
                      <attribute name="scale" value="0.8"/>
 
250
                    </attributes>
 
251
                  </object>
 
252
                </child>
 
253
                <child>
 
254
                  <object class="GtkBox">
205
255
                    <property name="visible">True</property>
206
256
                    <property name="can_focus">False</property>
207
257
                    <property name="margin_top">24</property>
208
 
                    <property name="margin_bottom">5</property>
209
258
                    <property name="spacing">6</property>
210
259
                    <child>
211
260
                      <object class="GtkLabel" id="heading_routes">
212
261
                        <property name="visible">True</property>
213
262
                        <property name="can_focus">False</property>
214
263
                        <property name="xalign">0</property>
 
264
                        <property name="hexpand">True</property>
215
265
                        <property name="label" translatable="yes">Routes</property>
216
266
                        <attributes>
217
267
                          <attribute name="weight" value="bold"/>
218
268
                        </attributes>
219
269
                      </object>
220
 
                      <packing>
221
 
                        <property name="expand">False</property>
222
 
                        <property name="fill">True</property>
223
 
                        <property name="position">0</property>
224
 
                      </packing>
225
270
                    </child>
226
271
                    <child>
227
 
                      <object class="GtkLabel" id="label2">
 
272
                      <object class="GtkLabel">
228
273
                        <property name="visible">True</property>
229
274
                        <property name="can_focus">False</property>
230
275
                        <property name="hexpand">True</property>
231
276
                        <property name="xalign">1</property>
232
277
                        <property name="label" translatable="yes">Automatic</property>
233
278
                      </object>
234
 
                      <packing>
235
 
                        <property name="expand">False</property>
236
 
                        <property name="fill">True</property>
237
 
                        <property name="position">1</property>
238
 
                      </packing>
239
279
                    </child>
240
280
                    <child>
241
281
                      <object class="GtkSwitch" id="auto_routes_switch">
242
282
                        <property name="visible">True</property>
243
283
                        <property name="can_focus">True</property>
 
284
                        <property name="halign">end</property>
 
285
                        <property name="valign">center</property>
244
286
                        <child internal-child="accessible">
245
287
                          <object class="AtkObject" id="auto_routes_switch-accessible">
246
288
                            <property name="accessible-name" translatable="yes">Automatic Routes</property>
247
289
                          </object>
248
290
                        </child>
249
291
                      </object>
250
 
                      <packing>
251
 
                        <property name="expand">False</property>
252
 
                        <property name="fill">True</property>
253
 
                        <property name="position">2</property>
254
 
                      </packing>
255
292
                    </child>
256
293
                  </object>
257
294
                  <packing>
258
 
                    <property name="expand">False</property>
259
 
                    <property name="fill">True</property>
260
 
                    <property name="position">4</property>
 
295
                    <property name="position">5</property>
261
296
                  </packing>
262
297
                </child>
263
298
                <child>
266
301
                    <property name="can_focus">False</property>
267
302
                    <property name="orientation">vertical</property>
268
303
                    <child>
269
 
                      <placeholder/>
 
304
                      <object class="GtkBox">
 
305
                        <property name="visible">True</property>
 
306
                        <property name="can_focus">False</property>
 
307
                        <property name="orientation">horizontal</property>
 
308
                        <child>
 
309
                          <object class="GtkLabel" id="routes_address_label">
 
310
                            <property name="visible">True</property>
 
311
                            <property name="can_focus">False</property>
 
312
                            <property name="hexpand">True</property>
 
313
                            <property name="label" translatable="yes">Address</property>
 
314
                            <style>
 
315
                              <class name="dim-label" />
 
316
                            </style>
 
317
                            <attributes>
 
318
                              <attribute name="scale" value="0.8"/>
 
319
                            </attributes>
 
320
                          </object>
 
321
                        </child>
 
322
                        <child>
 
323
                          <object class="GtkLabel" id="routes_netmask_label">
 
324
                            <property name="visible">True</property>
 
325
                            <property name="can_focus">False</property>
 
326
                            <property name="hexpand">True</property>
 
327
                            <property name="label" translatable="yes">Netmask</property>
 
328
                            <style>
 
329
                              <class name="dim-label" />
 
330
                            </style>
 
331
                            <attributes>
 
332
                              <attribute name="scale" value="0.8"/>
 
333
                            </attributes>
 
334
                          </object>
 
335
                        </child>
 
336
                        <child>
 
337
                          <object class="GtkLabel" id="routes_gateway_label">
 
338
                            <property name="visible">True</property>
 
339
                            <property name="can_focus">False</property>
 
340
                            <property name="hexpand">True</property>
 
341
                            <property name="label" translatable="yes">Gateway</property>
 
342
                            <style>
 
343
                              <class name="dim-label" />
 
344
                            </style>
 
345
                            <attributes>
 
346
                              <attribute name="scale" value="0.8"/>
 
347
                            </attributes>
 
348
                          </object>
 
349
                        </child>
 
350
                        <child>
 
351
                          <object class="GtkLabel" id="routes_metric_label">
 
352
                            <property name="visible">True</property>
 
353
                            <property name="can_focus">False</property>
 
354
                            <property name="label" translatable="yes" comments="Translators: Please see https://en.wikipedia.org/wiki/Metrics_(networking)">Metric</property>
 
355
                            <style>
 
356
                              <class name="dim-label" />
 
357
                            </style>
 
358
                            <attributes>
 
359
                              <attribute name="scale" value="0.8"/>
 
360
                            </attributes>
 
361
                          </object>
 
362
                        </child>
 
363
 
 
364
                        <!-- This invisible box is used to add some width in the
 
365
                             end of the header row, assuming the space used by the
 
366
                             delete button in the rows -->
 
367
                        <child>
 
368
                          <object class="GtkBox" id="routes_stub_box">
 
369
                            <property name="visible">True</property>
 
370
                            <property name="can_focus">False</property>
 
371
                          </object>
 
372
                        </child>
 
373
                      </object>
270
374
                    </child>
271
375
                  </object>
272
376
                  <packing>
273
377
                    <property name="expand">False</property>
274
378
                    <property name="fill">True</property>
275
 
                    <property name="position">5</property>
 
379
                    <property name="position">6</property>
276
380
                  </packing>
277
381
                </child>
278
382
                <child>
293
397
                </child>
294
398
              </object>
295
399
              <packing>
296
 
                <property name="expand">False</property>
297
 
                <property name="fill">True</property>
298
 
                <property name="position">1</property>
 
400
                <property name="top-attach">2</property>
 
401
                <property name="left-attach">0</property>
 
402
                <property name="width">3</property>
299
403
              </packing>
300
404
            </child>
301
405
          </object>
303
407
      </object>
304
408
    </child>
305
409
  </object>
 
410
  <object class="GtkSizeGroup" id="routes_metric_sizegroup">
 
411
    <property name="mode">horizontal</property>
 
412
    <widgets>
 
413
      <widget name="routes_metric_label" />
 
414
    </widgets>
 
415
  </object>
 
416
  <object class="GtkSizeGroup" id="routes_sizegroup">
 
417
    <property name="mode">horizontal</property>
 
418
    <widgets>
 
419
      <widget name="routes_stub_box" />
 
420
    </widgets>
 
421
  </object>
 
422
  <object class="GtkSizeGroup" id="address_sizegroup">
 
423
    <property name="mode">horizontal</property>
 
424
    <widgets>
 
425
      <widget name="address_stub_box" />
 
426
    </widgets>
 
427
  </object>
306
428
</interface>