The panel supports 2G/3G/4G GSM/LTE modems. CDMA2000 Modems are not supported. If a supported modem is present, the panel will be shown and the modem will be handled, else, network-panel shall manage the modem as it did in the past. If more than one modem with data enabled is present, the user is allowed to set priority of one SIM over the other (the priority is for SIM, not modem). Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/issues/132
188 lines
8.4 KiB
XML
188 lines
8.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<template class="CcWwanNetworkDialog" parent="GtkDialog">
|
|
<property name="title" translatable="yes">Network</property>
|
|
<property name="default-height">480</property>
|
|
<property name="default-width">360</property>
|
|
<signal name="delete-event" handler="gtk_widget_hide_on_delete"/>
|
|
|
|
<child internal-child="vbox">
|
|
<object class="GtkBox">
|
|
<property name="visible">1</property>
|
|
<property name="border-width">0</property>
|
|
<property name="width-request">340</property>
|
|
<property name="height-request">360</property>
|
|
<child>
|
|
<object class="GtkOverlay">
|
|
<property name="visible">1</property>
|
|
<child type="overlay">
|
|
<object class="GtkRevealer" id="notification_revealer">
|
|
<property name="visible">1</property>
|
|
<property name="halign">center</property>
|
|
<property name="valign">start</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">1</property>
|
|
<property name="spacing">12</property>
|
|
<style>
|
|
<class name="frame" />
|
|
<class name="app-notification" />
|
|
</style>
|
|
<child>
|
|
<object class="GtkLabel" id="notification_label">
|
|
<property name="visible">1</property>
|
|
<property name="wrap">1</property>
|
|
<property name="wrap-mode">word-char</property>
|
|
<property name="use-markup">1</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton">
|
|
<property name="visible">1</property>
|
|
<property name="relief">none</property>
|
|
<signal name="clicked" handler="cc_wwan_on_notification_closed" swapped="yes" />
|
|
<child internal-child="accessible">
|
|
<object class="AtkObject">
|
|
<property name="accessible-name" translatable="yes">Close</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkImage">
|
|
<property name="visible">1</property>
|
|
<property name="icon-name">window-close-symbolic</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">1</property>
|
|
<property name="margin-start">12</property>
|
|
<property name="margin-end">12</property>
|
|
<property name="margin-top">18</property>
|
|
<property name="margin-bottom">18</property>
|
|
<property name="orientation">vertical</property>
|
|
|
|
<!-- Automatic Network Selection Switch -->
|
|
<child>
|
|
<object class="GtkListBox">
|
|
<property name="visible">1</property>
|
|
<property name="selection-mode">none</property>
|
|
<property name="margin-bottom">18</property>
|
|
<style>
|
|
<class name="frame" />
|
|
</style>
|
|
<child>
|
|
<object class="CcListRow" id="automatic_row">
|
|
<property name="visible">1</property>
|
|
<property name="show-switch">1</property>
|
|
<property name="use-underline">1</property>
|
|
<property name="title" translatable="yes">_Automatic</property>
|
|
<signal name="notify::active" handler="cc_wwan_auto_network_changed_cb" swapped="yes" />
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
|
|
<!-- Network Selection List Title and Spinner -->
|
|
<child>
|
|
<object class="GtkBox" id="network_search_title" >
|
|
<property name="visible">1</property>
|
|
<property name="margin-bottom">9</property>
|
|
<property name="spacing">6</property>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="visible">1</property>
|
|
<property name="label" translatable="yes">Choose Network</property>
|
|
<property name="xalign">0.0</property>
|
|
<attributes>
|
|
<attribute name="weight" value="bold"/>
|
|
</attributes>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkSpinner" id="loading_spinner">
|
|
<property name="visible">1</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="refresh_button">
|
|
<property name="visible">1</property>
|
|
<signal name="clicked" handler="cc_wwan_network_dialog_refresh_networks" swapped="yes" />
|
|
<child internal-child="accessible">
|
|
<object class="AtkObject">
|
|
<property name="accessible-name" translatable="yes">Refresh Network Providers</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkImage">
|
|
<property name="visible">1</property>
|
|
<property name="icon-name">view-refresh-symbolic</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="pack-type">end</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
|
|
<!-- Network Selection List -->
|
|
<child>
|
|
<object class="GtkScrolledWindow">
|
|
<property name="visible">1</property>
|
|
<property name="hscrollbar-policy">never</property>
|
|
<property name="propagate-natural-height">1</property>
|
|
<child>
|
|
<object class="GtkListBox" id="operator_list_box">
|
|
<property name="visible">0</property>
|
|
<property name="sensitive">0</property>
|
|
<property name="selection-mode">none</property>
|
|
<signal name="row-activated" handler="cc_wwan_network_changed_cb" swapped="yes" />
|
|
<style>
|
|
<class name="frame" />
|
|
</style>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child> <!-- ./internal-child -->
|
|
|
|
<child type="action">
|
|
<object class="GtkButton" id="button_cancel">
|
|
<property name="visible">1</property>
|
|
<property name="use-underline">1</property>
|
|
<property name="label" translatable="yes">_Cancel</property>
|
|
<signal name="clicked" handler="gtk_widget_hide" swapped="yes"/>
|
|
</object>
|
|
</child>
|
|
<child type="action">
|
|
<object class="GtkButton" id="button_apply">
|
|
<property name="visible">1</property>
|
|
<property name="can-default">1</property>
|
|
<property name="use-underline">1</property>
|
|
<property name="label" translatable="yes">_Set</property>
|
|
<signal name="clicked" handler="cc_wwan_network_dialog_apply_clicked_cb" swapped="yes"/>
|
|
<style>
|
|
<class name="suggested-action "/>
|
|
</style>
|
|
</object>
|
|
</child>
|
|
|
|
<action-widgets>
|
|
<action-widget response="cancel">button_cancel</action-widget>
|
|
<action-widget response="apply" default="true">button_apply</action-widget>
|
|
</action-widgets>
|
|
</template>
|
|
</interface>
|