2012-07-20 12:05:10 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<interface>
|
|
|
|
<!-- interface-requires gtk+ 3.0 -->
|
2021-11-29 10:37:01 -03:00
|
|
|
<template class="NetDeviceWifi" parent="AdwBin">
|
2019-12-02 14:52:25 +05:30
|
|
|
|
2017-08-24 23:37:41 +08:00
|
|
|
<child>
|
2021-11-29 10:37:01 -03:00
|
|
|
<object class="GtkStack" id="stack">
|
|
|
|
<property name="valign">start</property>
|
|
|
|
<property name="vhomogeneous">False</property>
|
|
|
|
|
2012-07-26 14:43:17 +01:00
|
|
|
<child>
|
2021-11-29 10:37:01 -03:00
|
|
|
<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>
|
2012-07-26 14:43:17 +01:00
|
|
|
</object>
|
|
|
|
</child>
|
2021-11-29 10:37:01 -03:00
|
|
|
|
2022-08-05 15:42:45 +02:00
|
|
|
<!-- Wi-Fi Hotspot details -->
|
2017-08-24 23:37:41 +08:00
|
|
|
<child>
|
2021-11-29 10:37:01 -03:00
|
|
|
<object class="GtkStackPage">
|
|
|
|
<property name="child">
|
|
|
|
<object class="GtkListBox" id="hotspot_box">
|
|
|
|
<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>
|
|
|
|
<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>
|
2012-07-26 14:43:17 +01:00
|
|
|
</object>
|
|
|
|
</child>
|
2021-11-29 10:37:01 -03:00
|
|
|
|
2012-07-20 12:05:10 +01:00
|
|
|
</object>
|
2017-08-24 23:37:41 +08:00
|
|
|
</child>
|
2019-12-02 14:52:25 +05:30
|
|
|
|
2019-10-24 14:08:18 +13:00
|
|
|
</template>
|
2017-07-11 16:31:56 -03:00
|
|
|
|
|
|
|
<!-- Center widget -->
|
|
|
|
<object class="GtkBox" id="center_box">
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<property name="halign">center</property>
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<child>
|
2019-10-15 12:34:44 +13:00
|
|
|
<object class="GtkLabel" id="title_label">
|
2017-07-11 16:31:56 -03:00
|
|
|
<property name="label" translatable="yes">Wi-Fi</property>
|
|
|
|
<style>
|
|
|
|
<class name="title" />
|
|
|
|
</style>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2019-10-15 12:34:44 +13:00
|
|
|
<object class="GtkLabel" id="status_label">
|
2017-07-11 16:31:56 -03:00
|
|
|
<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>
|
2019-10-24 20:29:35 +13:00
|
|
|
<signal name="notify::active" handler="device_off_switch_changed_cb" object="NetDeviceWifi" swapped="yes"/>
|
2021-11-29 10:37:01 -03:00
|
|
|
<accessibility>
|
|
|
|
<property name="label" translatable="yes">Turn Wi-Fi off</property>
|
|
|
|
</accessibility>
|
2017-07-11 16:31:56 -03:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkMenuButton" id="header_button">
|
|
|
|
<property name="popover">header_button_popover</property>
|
2022-05-30 22:47:54 +02:00
|
|
|
<property name="icon_name">view-more-symbolic</property>
|
2022-05-10 10:43:50 +02:00
|
|
|
<accessibility>
|
2022-04-29 11:28:11 +02:00
|
|
|
<property name="label" translatable="yes">More options…</property>
|
2022-05-10 10:43:50 +02:00
|
|
|
</accessibility>
|
2017-07-11 16:31:56 -03:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
|
|
|
|
<!-- Menu Popover -->
|
2021-11-29 10:37:01 -03:00
|
|
|
<object class="GtkPopover" id="header_button_popover">
|
|
|
|
<style>
|
|
|
|
<class name="menu" />
|
|
|
|
</style>
|
2017-07-11 16:31:56 -03:00
|
|
|
<child>
|
2022-05-30 23:38:07 +02:00
|
|
|
<object class="GtkListBox">
|
|
|
|
<property name="selection_mode">none</property>
|
|
|
|
<signal name="row_activated" handler="on_popover_row_activated_cb" />
|
2017-07-11 16:31:56 -03:00
|
|
|
<child>
|
2022-05-30 23:38:07 +02:00
|
|
|
<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>
|
2017-07-11 16:31:56 -03:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2022-05-30 23:38:07 +02:00
|
|
|
<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>
|
2017-07-11 16:31:56 -03:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2022-05-30 23:38:07 +02:00
|
|
|
<object class="GtkListBoxRow">
|
|
|
|
<property name="activatable">True</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel">
|
2023-01-06 03:31:14 -03:00
|
|
|
<property name="label" translatable="yes">_Saved Networks</property>
|
2022-05-30 23:38:07 +02:00
|
|
|
<property name="use_underline">True</property>
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
2017-07-11 16:31:56 -03:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
2012-07-20 12:05:10 +01:00
|
|
|
</interface>
|