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
320 lines
14 KiB
XML
320 lines
14 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<template class="CcWwanDetailsDialog" parent="GtkDialog">
|
|
<property name="title" translatable="yes">Modem Details</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="HdyClamp">
|
|
<property name="visible">1</property>
|
|
<property name="margin-top">32</property>
|
|
<property name="margin-bottom">32</property>
|
|
<property name="margin-start">18</property>
|
|
<property name="margin-end">18</property>
|
|
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">1</property>
|
|
<property name="orientation">vertical</property>
|
|
|
|
<!-- Modem Status Title -->
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="visible">1</property>
|
|
<property name="margin-bottom">12</property>
|
|
<property name="label" translatable="yes">Modem Status</property>
|
|
<property name="xalign">0.0</property>
|
|
<attributes>
|
|
<attribute name="weight" value="bold"/>
|
|
</attributes>
|
|
</object>
|
|
</child>
|
|
|
|
<!-- Modem Status Content -->
|
|
<child>
|
|
<object class="GtkGrid">
|
|
<property name="visible">1</property>
|
|
<property name="row-spacing">9</property>
|
|
<property name="column-spacing">6</property>
|
|
<property name="margin-bottom">24</property>
|
|
|
|
<!-- Carrier -->
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="visible">1</property>
|
|
<property name="label" translatable="yes">Carrier</property>
|
|
<property name="xalign">1.0</property>
|
|
<style>
|
|
<class name="dim-label"/>
|
|
</style>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">0</property>
|
|
<property name="top-attach">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="operator_name">
|
|
<property name="visible">1</property>
|
|
<property name="xalign">0.0</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">1</property>
|
|
<property name="top-attach">0</property>
|
|
</packing>
|
|
</child>
|
|
|
|
<!-- Network Type -->
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="visible">1</property>
|
|
<property name="label" translatable="yes">Network Type</property>
|
|
<property name="xalign">1.0</property>
|
|
<style>
|
|
<class name="dim-label"/>
|
|
</style>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">0</property>
|
|
<property name="top-attach">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="network_type">
|
|
<property name="visible">1</property>
|
|
<property name="xalign">0.0</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">1</property>
|
|
<property name="top-attach">1</property>
|
|
</packing>
|
|
</child>
|
|
|
|
<!-- Signal Strength -->
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="visible">1</property>
|
|
<property name="label" translatable="yes">Signal Strength</property>
|
|
<property name="xalign">1.0</property>
|
|
<style>
|
|
<class name="dim-label"/>
|
|
</style>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">0</property>
|
|
<property name="top-attach">2</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="signal_strength">
|
|
<property name="visible">1</property>
|
|
<property name="xalign">0.0</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">1</property>
|
|
<property name="top-attach">2</property>
|
|
</packing>
|
|
</child>
|
|
|
|
<!-- Network Status -->
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="visible">1</property>
|
|
<property name="label" translatable="yes">Network Status</property>
|
|
<property name="xalign">1.0</property>
|
|
<style>
|
|
<class name="dim-label"/>
|
|
</style>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">0</property>
|
|
<property name="top-attach">3</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="network_status">
|
|
<property name="visible">1</property>
|
|
<property name="xalign">0.0</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">1</property>
|
|
<property name="top-attach">3</property>
|
|
</packing>
|
|
</child>
|
|
|
|
<!-- Own Numbers -->
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="visible" bind-source="own_numbers"
|
|
bind-property="visible" bind-flags="sync-create"/>
|
|
<property name="label" translatable="yes">Own Number</property>
|
|
<property name="xalign">1.0</property>
|
|
<style>
|
|
<class name="dim-label"/>
|
|
</style>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">0</property>
|
|
<property name="top-attach">4</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="own_numbers">
|
|
<property name="visible">1</property>
|
|
<property name="xalign">0.0</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">1</property>
|
|
<property name="top-attach">4</property>
|
|
</packing>
|
|
</child>
|
|
|
|
<!-- Device Details Title -->
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="visible">1</property>
|
|
<property name="margin-bottom">12</property>
|
|
<property name="label" translatable="yes">Device Details</property>
|
|
<property name="xalign">0.0</property>
|
|
<attributes>
|
|
<attribute name="weight" value="bold"/>
|
|
</attributes>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">0</property>
|
|
<property name="top-attach">5</property>
|
|
<property name="width">2</property>
|
|
</packing>
|
|
</child>
|
|
|
|
<!-- Device Details Content -->
|
|
<!-- Manufacturer -->
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="visible">1</property>
|
|
<property name="label" translatable="yes">Manufacturer</property>
|
|
<property name="xalign">1.0</property>
|
|
<style>
|
|
<class name="dim-label"/>
|
|
</style>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">0</property>
|
|
<property name="top-attach">6</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="manufacturer">
|
|
<property name="visible">1</property>
|
|
<property name="xalign">0.0</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">1</property>
|
|
<property name="top-attach">6</property>
|
|
</packing>
|
|
</child>
|
|
|
|
<!-- Model -->
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="visible">1</property>
|
|
<property name="label" translatable="yes">Model</property>
|
|
<property name="xalign">1.0</property>
|
|
<style>
|
|
<class name="dim-label"/>
|
|
</style>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">0</property>
|
|
<property name="top-attach">7</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="device_model">
|
|
<property name="visible">1</property>
|
|
<property name="xalign">0.0</property>
|
|
<property name="selectable">1</property>
|
|
<property name="ellipsize">end</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">1</property>
|
|
<property name="top-attach">7</property>
|
|
</packing>
|
|
</child>
|
|
|
|
<!-- Firmware version -->
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="visible">1</property>
|
|
<property name="label" translatable="yes">Firmware Version</property>
|
|
<property name="xalign">1.0</property>
|
|
<style>
|
|
<class name="dim-label"/>
|
|
</style>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">0</property>
|
|
<property name="top-attach">8</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="firmware_version">
|
|
<property name="visible">1</property>
|
|
<property name="selectable">1</property>
|
|
<property name="xalign">0.0</property>
|
|
<property name="ellipsize">end</property>
|
|
<property name="wrap">1</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">1</property>
|
|
<property name="top-attach">8</property>
|
|
</packing>
|
|
</child>
|
|
|
|
<!-- IMEI/ICCID -->
|
|
<child>
|
|
<object class="GtkLabel" id="identifier_label">
|
|
<property name="visible">1</property>
|
|
<property name="label" translatable="yes">IMEI</property>
|
|
<property name="xalign">1.0</property>
|
|
<style>
|
|
<class name="dim-label"/>
|
|
</style>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">0</property>
|
|
<property name="top-attach">9</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="device_identifier">
|
|
<property name="visible">1</property>
|
|
<property name="selectable">1</property>
|
|
<property name="xalign">0.0</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">1</property>
|
|
<property name="top-attach">9</property>
|
|
</packing>
|
|
</child>
|
|
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
|
|
</object> <!-- ./HdyClamp -->
|
|
</child>
|
|
</object>
|
|
</child> <!-- ./internal-child -->
|
|
|
|
</template>
|
|
</interface>
|