diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 14:36:24 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 14:36:24 +0000 |
commit | 9b6d8e63db85c30007b463e91f91a791969fa83f (patch) | |
tree | 0899af51d73c1bf986f73ae39a03c4436083018a /panels/network/network-wifi.ui | |
parent | Initial commit. (diff) | |
download | gnome-control-center-9b6d8e63db85c30007b463e91f91a791969fa83f.tar.xz gnome-control-center-9b6d8e63db85c30007b463e91f91a791969fa83f.zip |
Adding upstream version 1:3.38.4.upstream/1%3.38.4upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'panels/network/network-wifi.ui')
-rw-r--r-- | panels/network/network-wifi.ui | 150 |
1 files changed, 150 insertions, 0 deletions
diff --git a/panels/network/network-wifi.ui b/panels/network/network-wifi.ui new file mode 100644 index 0000000..b95adcb --- /dev/null +++ b/panels/network/network-wifi.ui @@ -0,0 +1,150 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <!-- interface-requires gtk+ 3.0 --> + <template class="NetDeviceWifi" parent="GtkStack"> + <child> + <object class="GtkBox" id="listbox_box"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <property name="height-request">140</property> + </object> + </child> + + <!-- Wi-Fi Hotspot deails --> + <child> + <object class="GtkListBox" id="hotspot_box"> + <property name="visible">True</property> + <property name="selection-mode">none</property> + <child> + <object class="CcListRow" id="hotspot_name_row"> + <property name="visible">True</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="visible">True</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="visible">True</property> + <property name="title" context="Wi-Fi Hotspot" translatable="yes">Password</property> + </object> + </child> + </object> + </child> + + </template> + + <!-- Center widget --> + <object class="GtkBox" id="center_box"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <property name="halign">center</property> + <property name="valign">center</property> + <child> + <object class="GtkLabel" id="title_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Wi-Fi</property> + <style> + <class name="title" /> + </style> + </object> + </child> + <child> + <object class="GtkLabel" id="status_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <style> + <class name="subtitle" /> + </style> + </object> + </child> + </object> + + <!-- Box with the On/Off switch + menu button --> + <object class="GtkBox" id="header_box"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="spacing">6</property> + <property name="halign">end</property> + <child> + <object class="GtkSwitch" id="device_off_switch"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="valign">center</property> + <signal name="notify::active" handler="device_off_switch_changed_cb" object="NetDeviceWifi" swapped="yes"/> + <child internal-child="accessible"> + <object class="AtkObject"> + <property name="accessible-name" translatable="yes">Turn Wi-Fi off</property> + </object> + </child> + </object> + </child> + <child> + <object class="GtkMenuButton" id="header_button"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="popover">header_button_popover</property> + <child> + <object class="GtkImage"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="icon_name">view-more-symbolic</property> + </object> + </child> + </object> + </child> + </object> + + <!-- Menu Popover --> + <object class="GtkPopoverMenu" id="header_button_popover"> + <child> + <object class="GtkBox"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="margin">12</property> + <property name="spacing">6</property> + <property name="orientation">vertical</property> + <child> + <object class="GtkModelButton"> + <property name="label" translatable="yes">_Connect to Hidden Network…</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_underline">True</property> + <property name="xalign">0.0</property> + <signal name="clicked" handler="connect_hidden_button_clicked_cb" object="NetDeviceWifi" swapped="yes"/> + </object> + </child> + <child> + <object class="GtkModelButton" id="start_hotspot_button"> + <property name="label" translatable="yes">_Turn On Wi-Fi Hotspot…</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_underline">True</property> + <property name="xalign">0.0</property> + <signal name="clicked" handler="start_hotspot_button_clicked_cb" object="NetDeviceWifi" swapped="yes"/> + </object> + </child> + <child> + <object class="GtkModelButton"> + <property name="label" translatable="yes">_Known Wi-Fi Networks</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_underline">True</property> + <property name="xalign">0.0</property> + <signal name="clicked" handler="history_button_clicked_cb" object="NetDeviceWifi" swapped="yes"/> + </object> + </child> + </object> + </child> + </object> +</interface> |