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-wifi.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 '')
-rw-r--r-- | panels/network/network-wifi.ui | 153 |
1 files changed, 153 insertions, 0 deletions
diff --git a/panels/network/network-wifi.ui b/panels/network/network-wifi.ui new file mode 100644 index 0000000..be6500d --- /dev/null +++ b/panels/network/network-wifi.ui @@ -0,0 +1,153 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <!-- interface-requires gtk+ 3.0 --> + <template class="NetDeviceWifi" parent="AdwBin"> + + <child> + <object class="GtkStack" id="stack"> + <property name="valign">start</property> + <property name="vhomogeneous">False</property> + + <child> + <object class="GtkStackPage"> + <property name="child"> + <object class="GtkBox" id="listbox_box"> + <property name="orientation">vertical</property> + <property name="height-request">140</property> + </object> + </property> + </object> + </child> + + <!-- Wi-Fi Hotspot deails --> + <child> + <object class="GtkStackPage"> + <property name="child"> + <object class="GtkListBox" id="hotspot_box"> + <property name="selection-mode">none</property> + <style> + <class name="boxed-list" /> + </style> + <child> + <object class="CcListRow" id="hotspot_name_row"> + <property name="activatable">False</property> + <property name="title" context="Wi-Fi Hotspot" translatable="yes">Network Name</property> + </object> + </child> + <child> + <object class="CcListRow" id="hotspot_security_row"> + <property name="activatable">False</property> + <property name="title" context="Wi-Fi Hotspot" translatable="yes">Security type</property> + </object> + </child> + <child> + <object class="CcListRow" id="hotspot_password_row"> + <property name="activatable">False</property> + <property name="title" context="Wi-Fi Hotspot" translatable="yes">Password</property> + </object> + </child> + </object> + </property> + </object> + </child> + + </object> + </child> + + </template> + + <!-- Center widget --> + <object class="GtkBox" id="center_box"> + <property name="orientation">vertical</property> + <property name="halign">center</property> + <property name="valign">center</property> + <child> + <object class="GtkLabel" id="title_label"> + <property name="label" translatable="yes">Wi-Fi</property> + <style> + <class name="title" /> + </style> + </object> + </child> + <child> + <object class="GtkLabel" id="status_label"> + <style> + <class name="subtitle" /> + </style> + </object> + </child> + </object> + + <!-- Box with the On/Off switch + menu button --> + <object class="GtkBox" id="header_box"> + <property name="spacing">6</property> + <property name="halign">end</property> + <child> + <object class="GtkSwitch" id="device_off_switch"> + <property name="valign">center</property> + <signal name="notify::active" handler="device_off_switch_changed_cb" object="NetDeviceWifi" swapped="yes"/> + <accessibility> + <property name="label" translatable="yes">Turn Wi-Fi off</property> + </accessibility> + </object> + </child> + <child> + <object class="GtkMenuButton" id="header_button"> + <property name="popover">header_button_popover</property> + <property name="icon_name">view-more-symbolic</property> + <accessibility> + <property name="label" translatable="yes">More options…</property> + </accessibility> + </object> + </child> + </object> + + <!-- Menu Popover --> + <object class="GtkPopover" id="header_button_popover"> + <style> + <class name="menu" /> + </style> + <child> + <object class="GtkListBox"> + <property name="selection_mode">none</property> + <signal name="row_activated" handler="on_popover_row_activated_cb" /> + <child> + <object class="GtkListBoxRow" id="connect_hidden_row"> + <property name="activatable">True</property> + <child> + <object class="GtkLabel"> + <property name="label" translatable="yes">_Connect to Hidden Network…</property> + <property name="use_underline">True</property> + <property name="xalign">0</property> + </object> + </child> + </object> + </child> + <child> + <object class="GtkListBoxRow" id="start_hotspot_row"> + <property name="activatable">True</property> + <child> + <object class="GtkLabel"> + <property name="label" translatable="yes">_Turn On Wi-Fi Hotspot…</property> + <property name="use_underline">True</property> + <property name="xalign">0</property> + </object> + </child> + </object> + </child> + <child> + <object class="GtkListBoxRow"> + <property name="activatable">True</property> + <child> + <object class="GtkLabel"> + <property name="label" translatable="yes">_Known Wi-Fi Networks</property> + <property name="use_underline">True</property> + <property name="xalign">0</property> + </object> + </child> + </object> + </child> + </object> + </child> + </object> +</interface> |