1<?xml version="1.0" encoding="UTF-8"?> 2<interface> 3 <!-- interface-requires gtk+ 3.0 --> 4 <template class="CEPageIP6" parent="GtkScrolledWindow"> 5 <property name="visible">True</property> 6 <property name="can_focus">True</property> 7 <property name="hscrollbar_policy">never</property> 8 <child> 9 <object class="GtkViewport"> 10 <property name="visible">True</property> 11 <property name="can_focus">False</property> 12 <child> 13 <object class="GtkGrid" id="main_box"> 14 <property name="visible">True</property> 15 <property name="can_focus">False</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 <property name="orientation">vertical</property> 21 <property name="row-spacing">6</property> 22 <property name="column-spacing">6</property> 23 <child> 24 <object class="GtkLabel"> 25 <property name="visible">True</property> 26 <property name="can_focus">False</property> 27 <property name="label" translatable="yes">IPv_6 Method</property> 28 <property name="use_underline">True</property> 29 <property name="mnemonic_widget">disabled_radio</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="automatic_radio"> 42 <property name="label" translatable="yes">Automatic</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="dhcp_radio"> 55 <property name="label" translatable="yes">Automatic, DHCP 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">automatic_radio</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="local_radio"> 69 <property name="label" translatable="yes">Link-Local Only</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">automatic_radio</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="manual_radio"> 83 <property name="label" translatable="yes">Manual</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">automatic_radio</property> 89 </object> 90 <packing> 91 <property name="top-attach">1</property> 92 <property name="left-attach">2</property> 93 </packing> 94 </child> 95 <child> 96 <object class="GtkRadioButton" id="disabled_radio"> 97 <property name="label" translatable="yes">Disable</property> 98 <property name="visible">True</property> 99 <property name="can_focus">True</property> 100 <property name="receives_default">False</property> 101 <property name="draw_indicator">True</property> 102 <property name="group">automatic_radio</property> 103 </object> 104 <packing> 105 <property name="top-attach">2</property> 106 <property name="left-attach">1</property> 107 </packing> 108 </child> 109 <child> 110 <object class="GtkRadioButton" id="shared_radio"> 111 <property name="label" translatable="yes">Shared to other computers</property> 112 <property name="visible">True</property> 113 <property name="can_focus">True</property> 114 <property name="receives_default">False</property> 115 <property name="draw_indicator">True</property> 116 <property name="group">automatic_radio</property> 117 </object> 118 <packing> 119 <property name="top-attach">2</property> 120 <property name="left-attach">2</property> 121 </packing> 122 </child> 123 <child> 124 <object class="GtkBox" id="content_box"> 125 <property name="visible">True</property> 126 <property name="can_focus">False</property> 127 <property name="orientation">vertical</property> 128 <property name="spacing">6</property> 129 <child> 130 <object class="GtkBox" id="address_box"> 131 <property name="visible">True</property> 132 <property name="can_focus">False</property> 133 <property name="orientation">vertical</property> 134 <child> 135 <object class="GtkLabel"> 136 <property name="visible">True</property> 137 <property name="can_focus">False</property> 138 <property name="xalign">0</property> 139 <property name="label" translatable="yes">Addresses</property> 140 <property name="margin_top">24</property> 141 <property name="margin_bottom">8</property> 142 <attributes> 143 <attribute name="weight" value="bold"/> 144 </attributes> 145 </object> 146 </child> 147 <child> 148 <object class="GtkBox"> 149 <property name="visible">True</property> 150 <property name="can_focus">False</property> 151 <property name="orientation">horizontal</property> 152 <child> 153 <object class="GtkLabel" id="address_address_label"> 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">Address</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 <child> 167 <object class="GtkLabel"> 168 <property name="visible">True</property> 169 <property name="can_focus">False</property> 170 <property name="hexpand">True</property> 171 <property name="label" translatable="yes">Prefix</property> 172 <style> 173 <class name="dim-label" /> 174 </style> 175 <attributes> 176 <attribute name="scale" value="0.8"/> 177 </attributes> 178 </object> 179 </child> 180 <child> 181 <object class="GtkLabel"> 182 <property name="visible">True</property> 183 <property name="can_focus">False</property> 184 <property name="hexpand">True</property> 185 <property name="label" translatable="yes">Gateway</property> 186 <style> 187 <class name="dim-label" /> 188 </style> 189 <attributes> 190 <attribute name="scale" value="0.8"/> 191 </attributes> 192 </object> 193 </child> 194 195 <!-- This invisible box is used to add some width in the 196 end of the header row, assuming the space used by the 197 delete button in the rows --> 198 <child> 199 <object class="GtkBox" id="address_stub_box"> 200 <property name="visible">True</property> 201 <property name="can_focus">False</property> 202 </object> 203 </child> 204 </object> 205 </child> 206 </object> 207 <packing> 208 <property name="expand">False</property> 209 <property name="fill">True</property> 210 <property name="position">1</property> 211 </packing> 212 </child> 213 <child> 214 <object class="GtkBox"> 215 <property name="visible">True</property> 216 <property name="can_focus">False</property> 217 <property name="margin_top">24</property> 218 <property name="spacing">6</property> 219 <child> 220 <object class="GtkLabel" id="dns6_label"> 221 <property name="visible">True</property> 222 <property name="can_focus">False</property> 223 <property name="hexpand">True</property> 224 <property name="xalign">0</property> 225 <property name="label" translatable="yes">DNS</property> 226 <attributes> 227 <attribute name="weight" value="bold"/> 228 </attributes> 229 </object> 230 </child> 231 <child> 232 <object class="GtkLabel"> 233 <property name="visible">True</property> 234 <property name="can_focus">False</property> 235 <property name="hexpand">True</property> 236 <property name="xalign">1</property> 237 <property name="label" translatable="yes">Automatic</property> 238 </object> 239 </child> 240 <child> 241 <object class="GtkSwitch" id="auto_dns_switch"> 242 <property name="visible">True</property> 243 <property name="can_focus">True</property> 244 <property name="halign">end</property> 245 <property name="valign">center</property> 246 <child internal-child="accessible"> 247 <object class="AtkObject"> 248 <property name="accessible-name" translatable="yes">Automatic DNS</property> 249 </object> 250 </child> 251 </object> 252 </child> 253 </object> 254 <packing> 255 <property name="position">2</property> 256 </packing> 257 </child> 258 <child> 259 <object class="GtkEntry" id="dns_entry"> 260 <property name="visible">True</property> 261 <property name="can_focus">True</property> 262 </object> 263 <packing> 264 <property name="position">3</property> 265 </packing> 266 </child> 267 <child> 268 <object class="GtkLabel"> 269 <property name="visible">True</property> 270 <property name="can_focus">False</property> 271 <property name="xalign">0</property> 272 <property name="label" translatable="yes">Separate IP addresses with commas</property> 273 <style> 274 <class name="dim-label" /> 275 </style> 276 <attributes> 277 <attribute name="scale" value="0.8"/> 278 </attributes> 279 </object> 280 </child> 281 <child> 282 <object class="GtkBox"> 283 <property name="visible">True</property> 284 <property name="can_focus">False</property> 285 <property name="margin_top">24</property> 286 <property name="spacing">6</property> 287 <child> 288 <object class="GtkLabel"> 289 <property name="visible">True</property> 290 <property name="can_focus">False</property> 291 <property name="xalign">0</property> 292 <property name="hexpand">True</property> 293 <property name="label" translatable="yes">Routes</property> 294 <attributes> 295 <attribute name="weight" value="bold"/> 296 </attributes> 297 </object> 298 </child> 299 <child> 300 <object class="GtkLabel"> 301 <property name="visible">True</property> 302 <property name="can_focus">False</property> 303 <property name="hexpand">True</property> 304 <property name="xalign">1</property> 305 <property name="label" translatable="yes">Automatic</property> 306 </object> 307 </child> 308 <child> 309 <object class="GtkSwitch" id="auto_routes_switch"> 310 <property name="visible">True</property> 311 <property name="can_focus">True</property> 312 <property name="halign">end</property> 313 <property name="valign">center</property> 314 <child internal-child="accessible"> 315 <object class="AtkObject"> 316 <property name="accessible-name" translatable="yes">Automatic Routes</property> 317 </object> 318 </child> 319 </object> 320 </child> 321 </object> 322 <packing> 323 <property name="position">5</property> 324 </packing> 325 </child> 326 <child> 327 <object class="GtkBox" id="routes_box"> 328 <property name="visible">True</property> 329 <property name="can_focus">False</property> 330 <property name="orientation">vertical</property> 331 <child> 332 <object class="GtkBox"> 333 <property name="visible">True</property> 334 <property name="can_focus">False</property> 335 <property name="orientation">horizontal</property> 336 <child> 337 <object class="GtkLabel" id="routes_address_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">Address</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_prefix_label"> 352 <property name="visible">True</property> 353 <property name="can_focus">False</property> 354 <property name="hexpand">True</property> 355 <property name="label" translatable="yes">Prefix</property> 356 <style> 357 <class name="dim-label" /> 358 </style> 359 <attributes> 360 <attribute name="scale" value="0.8"/> 361 </attributes> 362 </object> 363 </child> 364 <child> 365 <object class="GtkLabel"> 366 <property name="visible">True</property> 367 <property name="can_focus">False</property> 368 <property name="hexpand">True</property> 369 <property name="label" translatable="yes">Gateway</property> 370 <style> 371 <class name="dim-label" /> 372 </style> 373 <attributes> 374 <attribute name="scale" value="0.8"/> 375 </attributes> 376 </object> 377 </child> 378 <child> 379 <object class="GtkLabel" id="routes_metric_label"> 380 <property name="visible">True</property> 381 <property name="can_focus">False</property> 382 <property name="label" translatable="yes" comments="Translators: Please see https://en.wikipedia.org/wiki/Metrics_(networking)">Metric</property> 383 <style> 384 <class name="dim-label" /> 385 </style> 386 <attributes> 387 <attribute name="scale" value="0.8"/> 388 </attributes> 389 </object> 390 </child> 391 392 <!-- This invisible box is used to add some width in the 393 end of the header row, assuming the space used by the 394 delete button in the rows --> 395 <child> 396 <object class="GtkBox" id="routes_stub_box"> 397 <property name="visible">True</property> 398 <property name="can_focus">False</property> 399 </object> 400 </child> 401 </object> 402 </child> 403 </object> 404 <packing> 405 <property name="expand">False</property> 406 <property name="fill">True</property> 407 <property name="position">6</property> 408 </packing> 409 </child> 410 <child> 411 <object class="GtkCheckButton" id="never_default_check"> 412 <property name="label" translatable="yes">Use this connection _only for resources on its network</property> 413 <property name="visible">True</property> 414 <property name="can_focus">True</property> 415 <property name="receives_default">False</property> 416 <property name="use_underline">True</property> 417 <property name="xalign">0</property> 418 <property name="draw_indicator">True</property> 419 </object> 420 <packing> 421 <property name="expand">False</property> 422 <property name="fill">True</property> 423 <property name="position">7</property> 424 </packing> 425 </child> 426 </object> 427 <packing> 428 <property name="top-attach">3</property> 429 <property name="left-attach">0</property> 430 <property name="width">3</property> 431 </packing> 432 </child> 433 </object> 434 </child> 435 </object> 436 </child> 437 </template> 438 <object class="GtkSizeGroup" id="routes_metric_sizegroup"> 439 <property name="mode">horizontal</property> 440 <widgets> 441 <widget name="routes_metric_label" /> 442 </widgets> 443 </object> 444 <object class="GtkSizeGroup" id="routes_sizegroup"> 445 <property name="mode">horizontal</property> 446 <widgets> 447 <widget name="routes_stub_box" /> 448 </widgets> 449 </object> 450 <object class="GtkSizeGroup" id="address_sizegroup"> 451 <property name="mode">horizontal</property> 452 <widgets> 453 <widget name="address_stub_box" /> 454 </widgets> 455 </object> 456</interface> 457