diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:45:20 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:45:20 +0000 |
commit | ae1c76ff830d146d41e88d6fba724c0a54bce868 (patch) | |
tree | 3c354bec95af07be35fc71a4b738268496f1a1c4 /panels/network/network-ethernet.ui | |
parent | Initial commit. (diff) | |
download | gnome-control-center-upstream.tar.xz gnome-control-center-upstream.zip |
Adding upstream version 1:43.6.upstream/1%43.6upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'panels/network/network-ethernet.ui')
-rw-r--r-- | panels/network/network-ethernet.ui | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/panels/network/network-ethernet.ui b/panels/network/network-ethernet.ui new file mode 100644 index 0000000..3651fa8 --- /dev/null +++ b/panels/network/network-ethernet.ui @@ -0,0 +1,70 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <!-- interface-requires gtk+ 3.0 --> + <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> + <accessibility> + <property name="label" translatable="Yes">Add Ethernet connection</property> + </accessibility> + <signal name="clicked" handler="add_profile_button_clicked_cb" object="NetDeviceEthernet" swapped="yes"/> + <style> + <class name="flat" /> + </style> + </object> + </property> + + <child> + <object class="GtkStack" id="connection_stack"> + <child> + <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> + </object> + </child> + + <!-- Single profile row --> + <child> + <object class="GtkListBox" id="details_listbox"> + <property name="selection_mode">none</property> + <style> + <class name="boxed-list" /> + </style> + <child> + <object class="AdwActionRow" id="details_row"> + <property name="activatable-widget">device_off_switch</property> + <child> + <object class="GtkSwitch" id="device_off_switch"> + <property name="valign">center</property> + <accessibility> + <property name="label" translatable="yes">Active</property> + </accessibility> + <signal name="notify::active" handler="device_off_switch_changed_cb" object="NetDeviceEthernet" swapped="yes"/> + </object> + </child> + <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> + <style> + <class name="flat"/> + </style> + </object> + </child> + </object> + </child> + </object> + </child> + </object> + </child> + </template> +</interface> |