nma-mobile-wizard.ui 27.3 KB
Newer Older
1 2
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.20.2 -->
3
<interface domain="nm-applet">
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
  <requires lib="gtk+" version="3.20"/>
  <object class="GtkTreeStore" id="country_store">
    <columns>
      <!-- column-name name -->
      <column type="gchararray"/>
      <!-- column-name info -->
      <column type="NMACountryInfo"/>
    </columns>
  </object>
  <object class="GtkTreeModelSort" id="country_sort">
    <property name="model">country_store</property>
  </object>
  <object class="GtkTreeStore" id="dev_store">
    <columns>
      <!-- column-name name -->
      <column type="gchararray"/>
      <!-- column-name device -->
      <column type="NMDevice"/>
      <!-- column-name sparator -->
      <column type="gboolean"/>
    </columns>
  </object>
  <object class="GtkTreeStore" id="plan_store">
    <columns>
      <!-- column-name name -->
      <column type="gchararray"/>
      <!-- column-name method -->
      <column type="NMAMobileAccessMethod"/>
      <!-- column-name manual -->
      <column type="gboolean"/>
    </columns>
  </object>
  <object class="GtkTreeStore" id="providers_store">
    <columns>
      <!-- column-name name -->
      <column type="gchararray"/>
      <!-- column-name provider -->
      <column type="NMAMobileProvider"/>
    </columns>
  </object>
  <object class="GtkTreeModelSort" id="providers_sort">
    <property name="model">providers_store</property>
  </object>
  <template class="NMAMobileWizard" parent="GtkAssistant">
    <property name="can_focus">False</property>
    <property name="title" translatable="yes">New Mobile Broadband Connection</property>
    <property name="modal">True</property>
    <property name="window_position">center-always</property>
    <property name="type_hint">dialog</property>
    <property name="skip_taskbar_hint">True</property>
    <property name="use_header_bar">1</property>
    <signal name="cancel" handler="assistant_cancel" swapped="no"/>
    <signal name="close" handler="assistant_closed" swapped="no"/>
    <signal name="prepare" handler="assistant_prepare" swapped="no"/>
    <child>
      <object class="GtkBox" id="intro_page">
        <property name="visible">True</property>
        <property name="can_focus">False</property>
62 63 64 65
        <property name="margin_start">12</property>
        <property name="margin_end">12</property>
        <property name="margin_top">12</property>
        <property name="margin_bottom">12</property>
66 67 68 69 70 71 72 73 74 75 76 77 78 79
        <property name="orientation">vertical</property>
        <property name="spacing">6</property>
        <child>
          <object class="GtkLabel">
            <property name="visible">True</property>
            <property name="can_focus">False</property>
            <property name="label" translatable="yes">This assistant helps you easily set up a mobile broadband connection to a cellular (3G) network.</property>
            <property name="wrap">True</property>
            <property name="max_width_chars">60</property>
            <property name="xalign">0</property>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
80
            <property name="position">5</property>
81 82 83 84 85 86 87 88 89 90 91 92 93
          </packing>
        </child>
        <child>
          <object class="GtkLabel">
            <property name="visible">True</property>
            <property name="can_focus">False</property>
            <property name="label" translatable="yes">You will need the following information:</property>
            <property name="wrap">True</property>
            <property name="xalign">0</property>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
94
            <property name="position">6</property>
95 96 97
          </packing>
        </child>
        <child>
98
          <object class="GtkLabel" id="provider_name_label">
99 100
            <property name="visible">True</property>
            <property name="can_focus">False</property>
101
            <property name="margin_start">25</property>
102
            <property name="label" translatable="yes">Your broadband provider’s name</property>
103 104 105 106 107
            <property name="xalign">0</property>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
108 109 110 111 112 113 114
            <property name="position">7</property>
          </packing>
        </child>
        <child>
          <object class="GtkLabel" id="plan_name_label">
            <property name="visible">True</property>
            <property name="can_focus">False</property>
115
            <property name="margin_start">25</property>
116 117 118 119 120 121 122 123 124 125 126 127 128
            <property name="label" translatable="yes">Your broadband billing plan name</property>
            <property name="xalign">0</property>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">8</property>
          </packing>
        </child>
        <child>
          <object class="GtkLabel" id="apn_label">
            <property name="visible">True</property>
            <property name="can_focus">False</property>
129
            <property name="margin_start">25</property>
130 131 132 133 134 135 136
            <property name="label" translatable="yes">(in some cases) Your broadband billing plan APN (Access Point Name)</property>
            <property name="xalign">0</property>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">9</property>
137 138 139 140 141 142
          </packing>
        </child>
        <child>
          <object class="GtkLabel">
            <property name="visible">True</property>
            <property name="can_focus">False</property>
143 144
            <property name="valign">end</property>
            <property name="vexpand">True</property>
145 146 147 148 149 150 151
            <property name="label" translatable="yes">Create a connection for _this mobile broadband device:</property>
            <property name="use_underline">True</property>
            <property name="xalign">0</property>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
152
            <property name="position">10</property>
153 154 155
          </packing>
        </child>
        <child>
156
          <object class="GtkComboBox" id="dev_combo">
157
            <property name="visible">True</property>
158
            <property name="sensitive">False</property>
159
            <property name="can_focus">False</property>
160 161 162
            <property name="model">dev_store</property>
            <property name="active">0</property>
            <signal name="changed" handler="intro_combo_changed" swapped="yes"/>
163 164 165 166
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
167
            <property name="position">11</property>
168 169 170 171 172 173 174 175 176 177 178 179 180
          </packing>
        </child>
      </object>
      <packing>
        <property name="page_type">intro</property>
        <property name="title" translatable="yes">Set up a Mobile Broadband Connection</property>
        <property name="complete">True</property>
      </packing>
    </child>
    <child>
      <object class="GtkBox" id="country_page">
        <property name="visible">True</property>
        <property name="can_focus">False</property>
181 182 183 184
        <property name="margin_start">12</property>
        <property name="margin_end">12</property>
        <property name="margin_top">12</property>
        <property name="margin_bottom">12</property>
185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200
        <property name="orientation">vertical</property>
        <property name="spacing">6</property>
        <child>
          <object class="GtkLabel">
            <property name="visible">True</property>
            <property name="can_focus">False</property>
            <property name="label" translatable="yes">Country or Region List:</property>
            <property name="xalign">0</property>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">0</property>
          </packing>
        </child>
        <child>
201
          <object class="GtkScrolledWindow">
202
            <property name="visible">True</property>
203 204 205 206
            <property name="can_focus">True</property>
            <property name="vexpand">True</property>
            <property name="hscrollbar_policy">never</property>
            <property name="shadow_type">in</property>
207
            <child>
208
              <object class="GtkTreeView" id="country_view">
209 210
                <property name="visible">True</property>
                <property name="can_focus">True</property>
211 212 213 214 215 216 217
                <property name="hexpand">True</property>
                <property name="vexpand">True</property>
                <property name="model">country_sort</property>
                <property name="search_column">0</property>
                <signal name="row-activated" handler="country_update_continue" swapped="yes"/>
                <child internal-child="selection">
                  <object class="GtkTreeSelection"/>
218 219 220 221 222 223 224
                </child>
              </object>
            </child>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
225
            <property name="position">1</property>
226 227 228 229 230 231 232 233 234 235 236
          </packing>
        </child>
      </object>
      <packing>
        <property name="title" translatable="yes">Choose your Provider’s Country or Region</property>
      </packing>
    </child>
    <child>
      <object class="GtkBox" id="providers_page">
        <property name="visible">True</property>
        <property name="can_focus">False</property>
237 238 239 240
        <property name="margin_start">12</property>
        <property name="margin_end">12</property>
        <property name="margin_top">12</property>
        <property name="margin_bottom">12</property>
241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260
        <property name="orientation">vertical</property>
        <property name="spacing">6</property>
        <child>
          <object class="GtkRadioButton" id="providers_view_radio">
            <property name="label" translatable="yes">Select your provider from a _list:</property>
            <property name="visible">True</property>
            <property name="can_focus">True</property>
            <property name="receives_default">False</property>
            <property name="use_underline">True</property>
            <property name="active">True</property>
            <property name="draw_indicator">True</property>
            <signal name="toggled" handler="providers_radio_toggled" swapped="no"/>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">0</property>
          </packing>
        </child>
        <child>
261 262
          <object class="GtkScrolledWindow">
            <property name="height_request">140</property>
263
            <property name="visible">True</property>
264
            <property name="can_focus">True</property>
265
            <property name="margin_start">25</property>
266 267 268
            <property name="vexpand">True</property>
            <property name="hscrollbar_policy">never</property>
            <property name="shadow_type">in</property>
269
            <child>
270
              <object class="GtkTreeView" id="providers_view">
271 272
                <property name="visible">True</property>
                <property name="can_focus">True</property>
273 274 275 276
                <property name="model">providers_sort</property>
                <property name="search_column">0</property>
                <child internal-child="selection">
                  <object class="GtkTreeSelection"/>
277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303
                </child>
              </object>
            </child>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">1</property>
          </packing>
        </child>
        <child>
          <object class="GtkRadioButton" id="provider_unlisted_radio">
            <property name="label" translatable="yes">I can’t find my provider and I wish to enter it _manually:</property>
            <property name="visible">True</property>
            <property name="can_focus">True</property>
            <property name="receives_default">False</property>
            <property name="use_underline">True</property>
            <property name="draw_indicator">True</property>
            <property name="group">providers_view_radio</property>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">2</property>
          </packing>
        </child>
        <child>
304
          <object class="GtkGrid">
305 306
            <property name="visible">True</property>
            <property name="can_focus">False</property>
307
            <property name="margin_start">25</property>
308 309
            <property name="row_spacing">12</property>
            <property name="column_spacing">12</property>
310
            <child>
311
              <object class="GtkComboBoxText" id="provider_unlisted_type_combo">
312 313
                <property name="visible">True</property>
                <property name="can_focus">False</property>
314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343
                <property name="active">0</property>
                <items>
                  <item id="0" translatable="yes">My provider uses GSM technology (GPRS, EDGE, UMTS, HSPA)</item>
                  <item id="1" translatable="yes">My provider uses CDMA technology (1xRTT, EVDO)</item>
                </items>
              </object>
              <packing>
                <property name="left_attach">1</property>
                <property name="top_attach">1</property>
              </packing>
            </child>
            <child>
              <object class="GtkLabel">
                <property name="visible">True</property>
                <property name="can_focus">False</property>
                <property name="label" translatable="yes">Provider:</property>
                <property name="mnemonic_widget">provider_unlisted_type_combo</property>
                <property name="xalign">1</property>
              </object>
              <packing>
                <property name="left_attach">0</property>
                <property name="top_attach">0</property>
              </packing>
            </child>
            <child>
              <object class="GtkEntry" id="provider_unlisted_entry">
                <property name="visible">True</property>
                <property name="can_focus">True</property>
                <property name="width_chars">40</property>
                <signal name="changed" handler="providers_update_complete" swapped="yes"/>
344
              </object>
345 346 347 348 349 350 351
              <packing>
                <property name="left_attach">1</property>
                <property name="top_attach">0</property>
              </packing>
            </child>
            <child>
              <placeholder/>
352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368
            </child>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">3</property>
          </packing>
        </child>
      </object>
      <packing>
        <property name="title" translatable="yes">Choose your Provider</property>
      </packing>
    </child>
    <child>
      <object class="GtkBox" id="plan_page">
        <property name="visible">True</property>
        <property name="can_focus">False</property>
369 370 371 372
        <property name="margin_start">12</property>
        <property name="margin_end">12</property>
        <property name="margin_top">12</property>
        <property name="margin_bottom">12</property>
373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389
        <property name="orientation">vertical</property>
        <property name="spacing">6</property>
        <child>
          <object class="GtkLabel">
            <property name="visible">True</property>
            <property name="can_focus">False</property>
            <property name="label" translatable="yes">_Select your plan:</property>
            <property name="use_underline">True</property>
            <property name="xalign">0</property>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">0</property>
          </packing>
        </child>
        <child>
390
          <object class="GtkComboBox" id="plan_combo">
391 392
            <property name="visible">True</property>
            <property name="can_focus">False</property>
393 394
            <property name="model">plan_store</property>
            <signal name="changed" handler="plan_combo_changed" swapped="yes"/>
395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">1</property>
          </packing>
        </child>
        <child>
          <object class="GtkLabel">
            <property name="visible">True</property>
            <property name="can_focus">False</property>
            <property name="label" translatable="yes">Selected plan _APN (Access Point Name):</property>
            <property name="use_underline">True</property>
            <property name="xalign">0</property>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">2</property>
          </packing>
        </child>
        <child>
417
          <object class="GtkEntry" id="plan_unlisted_entry">
418
            <property name="visible">True</property>
419 420 421 422
            <property name="can_focus">True</property>
            <property name="max_length">64</property>
            <signal name="changed" handler="plan_update_complete" swapped="yes"/>
            <signal name="insert-text" handler="apn_filter_cb" swapped="no"/>
423 424 425 426 427 428 429 430 431 432 433
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">3</property>
          </packing>
        </child>
        <child>
          <object class="GtkBox">
            <property name="visible">True</property>
            <property name="can_focus">False</property>
434 435
            <property name="valign">end</property>
            <property name="vexpand">True</property>
436 437 438 439 440
            <property name="spacing">6</property>
            <child>
              <object class="GtkImage">
                <property name="visible">True</property>
                <property name="can_focus">False</property>
441
                <property name="valign">start</property>
442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483
                <property name="icon_name">dialog-warning</property>
                <property name="icon_size">6</property>
              </object>
              <packing>
                <property name="expand">False</property>
                <property name="fill">True</property>
                <property name="position">0</property>
              </packing>
            </child>
            <child>
              <object class="GtkLabel">
                <property name="width_request">500</property>
                <property name="visible">True</property>
                <property name="can_focus">False</property>
                <property name="label" translatable="yes">Warning: Selecting an incorrect plan may result in billing issues for your broadband account or may prevent connectivity.

If you are unsure of your plan please ask your provider for your plan’s APN.</property>
                <property name="wrap">True</property>
                <property name="max_width_chars">60</property>
              </object>
              <packing>
                <property name="expand">False</property>
                <property name="fill">True</property>
                <property name="position">5</property>
              </packing>
            </child>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">4</property>
          </packing>
        </child>
      </object>
      <packing>
        <property name="title" translatable="yes">Choose your Billing Plan</property>
      </packing>
    </child>
    <child>
      <object class="GtkBox" id="confirm_page">
        <property name="visible">True</property>
        <property name="can_focus">False</property>
484 485 486 487
        <property name="margin_start">12</property>
        <property name="margin_end">12</property>
        <property name="margin_top">12</property>
        <property name="margin_bottom">12</property>
488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518
        <property name="orientation">vertical</property>
        <property name="spacing">6</property>
        <child>
          <object class="GtkLabel">
            <property name="width_request">500</property>
            <property name="visible">True</property>
            <property name="can_focus">False</property>
            <property name="label" translatable="yes">Your mobile broadband connection is configured with the following settings:</property>
            <property name="wrap">True</property>
            <property name="xalign">0</property>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">0</property>
          </packing>
        </child>
        <child>
          <object class="GtkLabel" id="confirm_device_label">
            <property name="visible">True</property>
            <property name="can_focus">False</property>
            <property name="label" translatable="yes">Your Device:</property>
            <property name="xalign">0</property>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">1</property>
          </packing>
        </child>
        <child>
519
          <object class="GtkLabel" id="confirm_device">
520 521
            <property name="visible">True</property>
            <property name="can_focus">False</property>
522
            <property name="margin_start">25</property>
523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544
            <property name="xalign">0</property>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">2</property>
          </packing>
        </child>
        <child>
          <object class="GtkLabel">
            <property name="visible">True</property>
            <property name="can_focus">False</property>
            <property name="label" translatable="yes">Your Provider:</property>
            <property name="xalign">0</property>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">3</property>
          </packing>
        </child>
        <child>
545
          <object class="GtkLabel" id="confirm_provider">
546 547
            <property name="visible">True</property>
            <property name="can_focus">False</property>
548
            <property name="margin_start">25</property>
549 550 551 552 553 554 555 556 557
            <property name="xalign">0</property>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">4</property>
          </packing>
        </child>
        <child>
558
          <object class="GtkLabel" id="confirm_plan_label">
559 560 561 562 563 564 565 566 567 568 569 570
            <property name="visible">True</property>
            <property name="can_focus">False</property>
            <property name="label" translatable="yes">Your Plan:</property>
            <property name="xalign">0</property>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">5</property>
          </packing>
        </child>
        <child>
571
          <object class="GtkBox">
572 573
            <property name="visible">True</property>
            <property name="can_focus">False</property>
574
            <property name="orientation">vertical</property>
575
            <property name="spacing">6</property>
576
            <child>
577
              <object class="GtkLabel" id="confirm_plan">
578 579
                <property name="visible">True</property>
                <property name="can_focus">False</property>
580
                <property name="margin_start">25</property>
581 582 583 584 585 586 587 588 589 590 591 592
                <property name="xalign">0</property>
              </object>
              <packing>
                <property name="expand">False</property>
                <property name="fill">True</property>
                <property name="position">0</property>
              </packing>
            </child>
            <child>
              <object class="GtkLabel" id="confirm_apn">
                <property name="visible">True</property>
                <property name="can_focus">False</property>
593
                <property name="margin_start">25</property>
594
                <property name="xalign">0</property>
595
              </object>
596 597 598 599 600
              <packing>
                <property name="expand">False</property>
                <property name="fill">True</property>
                <property name="position">1</property>
              </packing>
601 602 603 604 605 606 607 608 609 610 611 612
            </child>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">6</property>
          </packing>
        </child>
        <child>
          <object class="GtkLabel" id="confirm_connect_after_label">
            <property name="width_request">500</property>
            <property name="can_focus">False</property>
613
            <property name="no_show_all">True</property>
614 615
            <property name="valign">end</property>
            <property name="vexpand">True</property>
616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633
            <property name="label" translatable="yes">A connection will now be made to your mobile broadband provider using the settings you selected. If the connection fails or you cannot access network resources, double-check your settings. To modify your mobile broadband connection settings, choose “Network Connections” from the System → Preferences menu.</property>
            <property name="wrap">True</property>
            <property name="max_width_chars">60</property>
            <property name="xalign">0</property>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">7</property>
          </packing>
        </child>
      </object>
      <packing>
        <property name="page_type">confirm</property>
        <property name="title" translatable="yes">Confirm Mobile Broadband Settings</property>
        <property name="complete">True</property>
      </packing>
    </child>
634 635 636
    <child>
      <placeholder/>
    </child>
637 638 639 640 641 642 643 644 645
    <child internal-child="action_area">
      <object class="GtkBox">
        <property name="can_focus">False</property>
      </object>
      <packing>
      </packing>
    </child>
  </template>
</interface>