2012-12-17 14:17:42 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<interface>
|
|
|
|
<!-- interface-requires gtk+ 3.0 -->
|
2022-01-27 14:52:21 -08:00
|
|
|
<template class="NetDeviceEthernet" parent="AdwPreferencesGroup">
|
|
|
|
<property name="title" translatable="yes">Wired</property>
|
|
|
|
<property name="header-suffix">
|
|
|
|
<object class="GtkButton">
|
|
|
|
<property name="icon_name">list-add-symbolic</property>
|
|
|
|
<signal name="clicked" handler="add_profile_button_clicked_cb" object="NetDeviceEthernet" swapped="yes"/>
|
|
|
|
<style>
|
|
|
|
<class name="flat" />
|
|
|
|
</style>
|
2017-07-17 23:21:08 -03:00
|
|
|
</object>
|
2022-01-27 14:52:21 -08:00
|
|
|
</property>
|
2017-07-17 23:21:08 -03:00
|
|
|
|
|
|
|
<child>
|
2022-01-27 14:07:58 -08:00
|
|
|
<object class="GtkStack" id="connection_stack">
|
2012-12-17 14:17:42 -05:00
|
|
|
<child>
|
2022-01-27 14:07:58 -08:00
|
|
|
<object class="GtkListBox" id="connection_list">
|
|
|
|
<property name="selection-mode">none</property>
|
|
|
|
<signal name="row-activated" handler="connection_list_row_activated_cb" object="NetDeviceEthernet" swapped="yes"/>
|
|
|
|
<style>
|
|
|
|
<class name="boxed-list" />
|
|
|
|
</style>
|
2017-07-17 23:21:08 -03:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
|
|
|
|
<!-- Single profile row -->
|
|
|
|
<child>
|
2021-11-29 10:37:01 -03:00
|
|
|
<object class="GtkListBox" id="details_listbox">
|
|
|
|
<property name="selection_mode">none</property>
|
|
|
|
<style>
|
2021-12-16 12:52:44 -08:00
|
|
|
<class name="boxed-list" />
|
2021-11-29 10:37:01 -03:00
|
|
|
</style>
|
2012-12-17 14:17:42 -05:00
|
|
|
<child>
|
2021-11-29 10:37:01 -03:00
|
|
|
<object class="AdwActionRow" id="details_row">
|
2022-01-27 14:17:57 -08:00
|
|
|
<property name="activatable-widget">device_off_switch</property>
|
2017-07-17 23:21:08 -03:00
|
|
|
<child>
|
2021-11-29 10:37:01 -03:00
|
|
|
<object class="GtkSwitch" id="device_off_switch">
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<signal name="notify::active" handler="device_off_switch_changed_cb" object="NetDeviceEthernet" swapped="yes"/>
|
2013-02-11 18:22:11 -05:00
|
|
|
</object>
|
|
|
|
</child>
|
2021-11-29 10:37:01 -03:00
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="details_button">
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="icon-name">emblem-system-symbolic</property>
|
|
|
|
<signal name="clicked" handler="details_button_clicked_cb" object="NetDeviceEthernet" swapped="yes"/>
|
|
|
|
<accessibility>
|
|
|
|
<property name="label" translatable="yes">Options…</property>
|
|
|
|
</accessibility>
|
|
|
|
</object>
|
|
|
|
</child>
|
2012-12-17 14:17:42 -05:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
2017-07-17 23:21:08 -03:00
|
|
|
</child>
|
2019-10-24 14:30:28 +13:00
|
|
|
</template>
|
2012-12-17 14:17:42 -05:00
|
|
|
</interface>
|