blob: 1a69c46efcac912aa09c04b46acbc1705c46f65d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
|
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="CcWifiHotspotDialog" parent="GtkDialog">
<property name="title" translatable="yes">Turn On Wi-Fi Hotspot?</property>
<property name="modal">1</property>
<property name="destroy-with-parent">1</property>
<property name="hide-on-close">True</property>
<child internal-child="headerbar">
<object class="GtkHeaderBar">
<property name="show-title-buttons">0</property>
</object>
</child>
<child internal-child="content_area">
<object class="GtkBox">
<property name="orientation">vertical</property>
<property name="margin-top">30</property>
<property name="margin-bottom">30</property>
<property name="margin-start">30</property>
<property name="margin-end">30</property>
<property name="spacing">20</property>
<child>
<object class="GtkLabel" id="label">
<property name="wrap">1</property>
<property name="max-width-chars">50</property>
<property name="label" translatable="yes">Wi-Fi hotspot allows others to share your internet connection, by creating a Wi-Fi network that they can connect to. To do this, you must have an internet connection through a source other than Wi-Fi.</property>
<property name="xalign">0.0</property>
</object>
</child>
<child>
<object class="GtkLabel" id="connection_label">
<property name="margin-bottom">18</property>
<property name="wrap">1</property>
<property name="max-width-chars">40</property>
<property name="use-markup">1</property>
<property name="xalign">0.0</property>
</object>
</child>
<child>
<object class="GtkGrid">
<property name="row-spacing">6</property>
<property name="column-spacing">12</property>
<!-- Hotspot SSID Name -->
<child>
<object class="GtkLabel">
<property name="label" translatable="yes">Network Name</property>
<property name="halign">end</property>
<property name="mnemonic_widget">name_entry</property>
<layout>
<property name="column">0</property>
<property name="row">0</property>
</layout>
</object>
</child>
<child>
<object class="GtkEntry" id="name_entry">
<property name="hexpand">1</property>
<property name="max-length">64</property>
<signal name="changed" handler="hotspot_entry_changed_cb" swapped="yes" />
<layout>
<property name="column">1</property>
<property name="row">0</property>
</layout>
</object>
</child>
<!-- Hotspot Password -->
<child>
<object class="GtkLabel">
<property name="label" translatable="yes">Password</property>
<property name="halign">end</property>
<property name="mnemonic_widget">password_entry</property>
<layout>
<property name="column">0</property>
<property name="row">1</property>
</layout>
</object>
</child>
<child>
<object class="GtkEntry" id="password_entry">
<property name="max-length">64</property>
<property name="secondary-icon-name">view-refresh-symbolic</property>
<property name="secondary-icon-tooltip-text" translatable="yes">Generate Random Password</property>
<property name="placeholder-text" translatable="yes">Autogenerate Password</property>
<signal name="icon-press" handler="generate_password_clicked_cb" swapped="yes" />
<signal name="changed" handler="hotspot_entry_changed_cb" swapped="yes" />
<layout>
<property name="column">1</property>
<property name="row">1</property>
</layout>
</object>
</child>
<!-- Error Label -->
<child>
<object class="GtkLabel" id="error_label">
<property name="halign">start</property>
<layout>
<property name="column">1</property>
<property name="row">2</property>
</layout>
<style>
<class name="dim-label" />
</style>
<attributes>
<attribute name="scale" value="0.83"/>
</attributes>
</object>
</child>
</object>
</child>
</object>
</child>
<child type="action">
<object class="GtkButton" id="cancel_button">
<property name="use-underline">1</property>
<property name="label" translatable="yes">_Cancel</property>
</object>
</child>
<child type="action">
<object class="GtkButton" id="ok_button">
<property name="use-underline">1</property>
<property name="label" translatable="yes">_Turn On</property>
</object>
</child>
<action-widgets>
<action-widget response="cancel">cancel_button</action-widget>
<action-widget response="apply" default="true">ok_button</action-widget>
</action-widgets>
</template>
</interface>
|