pidgin/resources/proxyoptions.ui

branch
gtk4
changeset 41543
d6ba57accc0e
parent 41352
5621fd3902fa
child 41576
f8771a229df1
equal deleted inserted replaced
41542:e0ff7bea9eb3 41543:d6ba57accc0e
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Generated with glade 3.38.2 2 <!--
3
4 Pidgin - Internet Messenger 3 Pidgin - Internet Messenger
5 Copyright (C) Pidgin Developers <devel@pidgin.im> 4 Copyright (C) Pidgin Developers <devel@pidgin.im>
6 5
7 This program is free software; you can redistribute it and/or 6 This program is free software; you can redistribute it and/or
8 modify it under the terms of the GNU General Public License 7 modify it under the terms of the GNU General Public License
13 but WITHOUT ANY WARRANTY; without even the implied warranty of 12 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details. 14 GNU General Public License for more details.
16 15
17 You should have received a copy of the GNU General Public License 16 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software 17 along with this library; if not, see <https://www.gnu.org/licenses/>.
19 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20
21 --> 18 -->
22 <interface> 19 <interface>
23 <requires lib="gtk+" version="3.24"/> 20 <requires lib="gtk" version="4.0"/>
24 <!-- interface-license-type gplv2 --> 21 <!-- interface-license-type gplv2 -->
25 <!-- interface-name Pidgin --> 22 <!-- interface-name Pidgin -->
26 <!-- interface-description Internet Messenger --> 23 <!-- interface-description Internet Messenger -->
27 <!-- interface-copyright Pidgin Developers <devel@pidgin.im> --> 24 <!-- interface-copyright Pidgin Developers <devel@pidgin.im> -->
28 <object class="GtkListStore" id="model"> 25 <object class="GtkListStore" id="model">
29 <columns> 26 <columns>
30 <!-- column-name type -->
31 <column type="PurpleProxyType"/> 27 <column type="PurpleProxyType"/>
32 <!-- column-name description -->
33 <column type="gchararray"/> 28 <column type="gchararray"/>
34 </columns> 29 </columns>
35 <data> 30 <data>
36 <row> 31 <row>
37 <col id="0">PURPLE_PROXY_TYPE_USE_GLOBAL</col> 32 <col id="0">PURPLE_PROXY_TYPE_USE_GLOBAL</col>
71 <property name="upper">65535</property> 66 <property name="upper">65535</property>
72 <property name="step-increment">1</property> 67 <property name="step-increment">1</property>
73 <property name="page-increment">10</property> 68 <property name="page-increment">10</property>
74 </object> 69 </object>
75 <template class="PidginProxyOptions" parent="GtkBox"> 70 <template class="PidginProxyOptions" parent="GtkBox">
76 <property name="visible">True</property>
77 <property name="can-focus">False</property>
78 <property name="margin-start">12</property> 71 <property name="margin-start">12</property>
79 <property name="margin-end">12</property> 72 <property name="margin-end">12</property>
80 <property name="margin-top">12</property> 73 <property name="margin-top">12</property>
81 <property name="margin-bottom">12</property> 74 <property name="margin-bottom">12</property>
82 <property name="orientation">vertical</property> 75 <property name="orientation">vertical</property>
83 <property name="spacing">6</property> 76 <property name="spacing">6</property>
84 <child> 77 <child>
85 <object class="GtkBox"> 78 <object class="GtkBox">
86 <property name="visible">True</property>
87 <property name="can-focus">False</property>
88 <property name="spacing">6</property> 79 <property name="spacing">6</property>
89 <child> 80 <child>
90 <object class="GtkLabel" id="proxy_type_label"> 81 <object class="GtkLabel" id="proxy_type_label">
91 <property name="visible">True</property> 82 <property name="label" translatable="1">Proxy _type:</property>
92 <property name="can-focus">False</property> 83 <property name="use-underline">1</property>
93 <property name="label" translatable="yes">Proxy _type:</property>
94 <property name="use-underline">True</property>
95 <property name="mnemonic-widget">proxy_type</property> 84 <property name="mnemonic-widget">proxy_type</property>
96 <property name="xalign">0</property> 85 <property name="xalign">0</property>
97 <property name="yalign">0.5</property> 86 </object>
98 </object>
99 <packing>
100 <property name="expand">False</property>
101 <property name="fill">True</property>
102 <property name="position">0</property>
103 </packing>
104 </child> 87 </child>
105 <child> 88 <child>
106 <object class="GtkComboBox" id="proxy_type"> 89 <object class="GtkComboBox" id="proxy_type">
107 <property name="visible">True</property> 90 <property name="hexpand">1</property>
108 <property name="can-focus">False</property> 91 <property name="halign">GTK_ALIGN_FILL</property>
109 <property name="model">filter</property> 92 <property name="model">filter</property>
110 <signal name="changed" handler="pidgin_proxy_options_proxy_type_changed_cb" object="PidginProxyOptions" swapped="no"/> 93 <signal name="changed" handler="pidgin_proxy_options_proxy_type_changed_cb" object="PidginProxyOptions" swapped="no"/>
111 <child> 94 <child>
112 <object class="GtkCellRendererText"/> 95 <object class="GtkCellRendererText"/>
113 <attributes> 96 <attributes>
114 <attribute name="text">1</attribute> 97 <attribute name="text">1</attribute>
115 </attributes> 98 </attributes>
116 </child> 99 </child>
117 </object> 100 </object>
118 <packing>
119 <property name="expand">True</property>
120 <property name="fill">True</property>
121 <property name="position">1</property>
122 </packing>
123 </child> 101 </child>
124 </object> 102 </object>
125 <packing>
126 <property name="expand">False</property>
127 <property name="fill">True</property>
128 <property name="position">0</property>
129 </packing>
130 </child> 103 </child>
131 <child> 104 <child>
132 <object class="GtkBox" id="options"> 105 <object class="GtkBox" id="options">
133 <property name="visible">True</property> 106 <property name="sensitive">0</property>
134 <property name="sensitive">False</property>
135 <property name="can-focus">False</property>
136 <property name="orientation">vertical</property> 107 <property name="orientation">vertical</property>
137 <property name="spacing">6</property> 108 <property name="spacing">6</property>
138 <child> 109 <child>
139 <object class="GtkBox"> 110 <object class="GtkBox">
140 <property name="visible">True</property>
141 <property name="can-focus">False</property>
142 <property name="spacing">6</property> 111 <property name="spacing">6</property>
143 <child> 112 <child>
144 <object class="GtkLabel" id="host_label"> 113 <object class="GtkLabel" id="host_label">
145 <property name="visible">True</property> 114 <property name="label" translatable="1">_Host:</property>
146 <property name="can-focus">False</property> 115 <property name="use-underline">1</property>
147 <property name="label" translatable="yes">_Host:</property>
148 <property name="use-underline">True</property>
149 <property name="mnemonic-widget">hostname</property> 116 <property name="mnemonic-widget">hostname</property>
150 <property name="xalign">0</property> 117 <property name="xalign">0</property>
151 <property name="yalign">0.5</property> 118 </object>
152 </object>
153 <packing>
154 <property name="expand">False</property>
155 <property name="fill">True</property>
156 <property name="position">0</property>
157 </packing>
158 </child> 119 </child>
159 <child> 120 <child>
160 <object class="GtkEntry" id="hostname"> 121 <object class="GtkEntry" id="hostname">
161 <property name="visible">True</property> 122 <property name="hexpand">1</property>
162 <property name="can-focus">True</property> 123 <property name="halign">GTK_ALIGN_FILL</property>
163 <property name="progress-pulse-step">0</property> 124 <property name="focusable">1</property>
164 </object> 125 </object>
165 <packing> 126 </child>
166 <property name="expand">True</property> 127 </object>
167 <property name="fill">True</property> 128 </child>
168 <property name="position">1</property> 129 <child>
169 </packing> 130 <object class="GtkBox">
170 </child>
171 </object>
172 <packing>
173 <property name="expand">False</property>
174 <property name="fill">True</property>
175 <property name="position">0</property>
176 </packing>
177 </child>
178 <child>
179 <object class="GtkBox">
180 <property name="visible">True</property>
181 <property name="can-focus">False</property>
182 <property name="spacing">6</property> 131 <property name="spacing">6</property>
183 <child> 132 <child>
184 <object class="GtkLabel" id="port_label"> 133 <object class="GtkLabel" id="port_label">
185 <property name="visible">True</property> 134 <property name="label" translatable="1">_Port:</property>
186 <property name="can-focus">False</property> 135 <property name="use-underline">1</property>
187 <property name="label" translatable="yes">_Port:</property>
188 <property name="use-underline">True</property>
189 <property name="mnemonic-widget">port</property> 136 <property name="mnemonic-widget">port</property>
190 <property name="xalign">0</property> 137 <property name="xalign">0</property>
191 <property name="yalign">0.5</property> 138 </object>
192 </object>
193 <packing>
194 <property name="expand">False</property>
195 <property name="fill">True</property>
196 <property name="position">0</property>
197 </packing>
198 </child> 139 </child>
199 <child> 140 <child>
200 <object class="GtkSpinButton" id="port"> 141 <object class="GtkSpinButton" id="port">
201 <property name="visible">True</property> 142 <property name="hexpand">1</property>
202 <property name="can-focus">True</property> 143 <property name="halign">GTK_ALIGN_FILL</property>
144 <property name="focusable">1</property>
203 <property name="input-hints">GTK_INPUT_HINT_NO_EMOJI | GTK_INPUT_HINT_NONE</property> 145 <property name="input-hints">GTK_INPUT_HINT_NO_EMOJI | GTK_INPUT_HINT_NONE</property>
204 <property name="adjustment">port_adjustment</property> 146 <property name="adjustment">port_adjustment</property>
205 <property name="numeric">True</property> 147 <property name="numeric">1</property>
206 <signal name="populate-popup" handler="pidgin_proxy_options_ports_popup_cb" object="PidginProxyOptions" swapped="no"/> 148 <property name="extra-menu">extra</property>
207 </object> 149 </object>
208 <packing> 150 </child>
209 <property name="expand">True</property> 151 </object>
210 <property name="fill">True</property> 152 </child>
211 <property name="position">1</property> 153 <child>
212 </packing> 154 <object class="GtkBox">
213 </child>
214 </object>
215 <packing>
216 <property name="expand">False</property>
217 <property name="fill">True</property>
218 <property name="position">1</property>
219 </packing>
220 </child>
221 <child>
222 <object class="GtkBox">
223 <property name="visible">True</property>
224 <property name="can-focus">False</property>
225 <property name="spacing">6</property> 155 <property name="spacing">6</property>
226 <child> 156 <child>
227 <object class="GtkLabel" id="username_label"> 157 <object class="GtkLabel" id="username_label">
228 <property name="visible">True</property> 158 <property name="label" translatable="1">_Username:</property>
229 <property name="can-focus">False</property> 159 <property name="use-underline">1</property>
230 <property name="label" translatable="yes">_Username:</property>
231 <property name="use-underline">True</property>
232 <property name="mnemonic-widget">username</property> 160 <property name="mnemonic-widget">username</property>
233 <property name="xalign">0</property> 161 <property name="xalign">0</property>
234 <property name="yalign">0.5</property> 162 </object>
235 </object>
236 <packing>
237 <property name="expand">False</property>
238 <property name="fill">True</property>
239 <property name="position">0</property>
240 </packing>
241 </child> 163 </child>
242 <child> 164 <child>
243 <object class="GtkEntry" id="username"> 165 <object class="GtkEntry" id="username">
244 <property name="visible">True</property> 166 <property name="hexpand">1</property>
245 <property name="can-focus">True</property> 167 <property name="halign">GTK_ALIGN_FILL</property>
246 </object> 168 <property name="focusable">1</property>
247 <packing> 169 </object>
248 <property name="expand">True</property> 170 </child>
249 <property name="fill">True</property> 171 </object>
250 <property name="position">1</property> 172 </child>
251 </packing> 173 <child>
252 </child> 174 <object class="GtkBox">
253 </object>
254 <packing>
255 <property name="expand">False</property>
256 <property name="fill">True</property>
257 <property name="position">2</property>
258 </packing>
259 </child>
260 <child>
261 <object class="GtkBox">
262 <property name="visible">True</property>
263 <property name="can-focus">False</property>
264 <property name="spacing">6</property> 175 <property name="spacing">6</property>
265 <child> 176 <child>
266 <object class="GtkLabel" id="password_label"> 177 <object class="GtkLabel" id="password_label">
267 <property name="visible">True</property> 178 <property name="label" translatable="1">Pa_ssword:</property>
268 <property name="can-focus">False</property> 179 <property name="use-underline">1</property>
269 <property name="label" translatable="yes">Pa_ssword:</property>
270 <property name="use-underline">True</property>
271 <property name="mnemonic-widget">password</property> 180 <property name="mnemonic-widget">password</property>
272 <property name="xalign">0</property> 181 <property name="xalign">0</property>
273 <property name="yalign">0.5</property> 182 </object>
274 </object>
275 <packing>
276 <property name="expand">False</property>
277 <property name="fill">True</property>
278 <property name="position">0</property>
279 </packing>
280 </child> 183 </child>
281 <child> 184 <child>
282 <object class="GtkEntry" id="password"> 185 <object class="GtkEntry" id="password">
283 <property name="visible">True</property> 186 <property name="hexpand">1</property>
284 <property name="can-focus">True</property> 187 <property name="halign">GTK_ALIGN_FILL</property>
285 </object> 188 <property name="focusable">1</property>
286 <packing> 189 </object>
287 <property name="expand">True</property> 190 </child>
288 <property name="fill">True</property> 191 </object>
289 <property name="position">1</property>
290 </packing>
291 </child>
292 </object>
293 <packing>
294 <property name="expand">False</property>
295 <property name="fill">True</property>
296 <property name="position">3</property>
297 </packing>
298 </child> 192 </child>
299 </object> 193 </object>
300 <packing>
301 <property name="expand">False</property>
302 <property name="fill">True</property>
303 <property name="position">1</property>
304 </packing>
305 </child> 194 </child>
306 </template> 195 </template>
307 <object class="GtkSizeGroup"> 196 <object class="GtkSizeGroup">
308 <widgets> 197 <widgets>
309 <widget name="proxy_type_label"/> 198 <widget name="proxy_type_label"/>
311 <widget name="port_label"/> 200 <widget name="port_label"/>
312 <widget name="username_label"/> 201 <widget name="username_label"/>
313 <widget name="password_label"/> 202 <widget name="password_label"/>
314 </widgets> 203 </widgets>
315 </object> 204 </object>
205 <menu id="extra">
206 <item>
207 <!-- TRANSLATORS: This is an easter egg.
208 It means one of two things, both intended as humorous:
209 A) your network is really slow and you have nothing better to do than look at butterflies.
210 B) You are looking really closely at something that shouldn't matter.
211 -->
212 <attribute name="label" translatable="yes">If you look real closely</attribute>
213 </item>
214 <item>
215 <!-- TRANSLATORS: This is an easter egg.
216 It means one of two things, both intended as humorous:
217 A) your network is really slow and you have nothing better to do than look at butterflies.
218 B) You are looking really closely at something that shouldn't matter.
219 -->
220 <attribute name="label" translatable="yes">you can see the butterflies mating</attribute>
221 </item>
222 </menu>
316 </interface> 223 </interface>

mercurial