pidgin/resources/proxyoptions.ui

Tue, 10 May 2022 03:19:55 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Tue, 10 May 2022 03:19:55 -0500
branch
gtk4
changeset 41543
d6ba57accc0e
parent 41352
5621fd3902fa
child 41576
f8771a229df1
permissions
-rw-r--r--

Port PidginProxyOptions to GTK4

Testing Done:
Compiled.

Reviewed at https://reviews.imfreedom.org/r/1421/

41350
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
41543
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
2 <!--
41350
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
3 Pidgin - Internet Messenger
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
4 Copyright (C) Pidgin Developers <devel@pidgin.im>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
5
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
6 This program is free software; you can redistribute it and/or
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
7 modify it under the terms of the GNU General Public License
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
8 as published by the Free Software Foundation; either version 2
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
9 of the License, or (at your option) any later version.
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
10
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
11 This program is distributed in the hope that it will be useful,
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
14 GNU General Public License for more details.
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
15
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
16 You should have received a copy of the GNU General Public License
41543
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
17 along with this library; if not, see <https://www.gnu.org/licenses/>.
41350
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
18 -->
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
19 <interface>
41543
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
20 <requires lib="gtk" version="4.0"/>
41350
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
21 <!-- interface-license-type gplv2 -->
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
22 <!-- interface-name Pidgin -->
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
23 <!-- interface-description Internet Messenger -->
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
24 <!-- interface-copyright Pidgin Developers <devel@pidgin.im> -->
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
25 <object class="GtkListStore" id="model">
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
26 <columns>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
27 <column type="PurpleProxyType"/>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
28 <column type="gchararray"/>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
29 </columns>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
30 <data>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
31 <row>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
32 <col id="0">PURPLE_PROXY_TYPE_USE_GLOBAL</col>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
33 <col id="1" translatable="yes">Use Global Proxy Settings</col>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
34 </row>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
35 <row>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
36 <col id="0">PURPLE_PROXY_TYPE_NONE</col>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
37 <col id="1" translatable="yes">No Proxy</col>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
38 </row>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
39 <row>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
40 <col id="0">PURPLE_PROXY_TYPE_SOCKS4</col>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
41 <col id="1" translatable="yes">SOCKS 4</col>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
42 </row>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
43 <row>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
44 <col id="0">PURPLE_PROXY_TYPE_SOCKS5</col>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
45 <col id="1" translatable="yes">SOCKS 5</col>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
46 </row>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
47 <row>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
48 <col id="0">PURPLE_PROXY_TYPE_TOR</col>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
49 <col id="1" translatable="yes">TOR/Privacy (SOCKS 5)</col>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
50 </row>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
51 <row>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
52 <col id="0">PURPLE_PROXY_TYPE_HTTP</col>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
53 <col id="1" translatable="yes">HTTP</col>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
54 </row>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
55 <row>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
56 <col id="0">PURPLE_PROXY_TYPE_USE_ENVVAR</col>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
57 <col id="1" translatable="yes">Use Environmental Settings</col>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
58 </row>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
59 </data>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
60 </object>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
61 <object class="GtkTreeModelFilter" id="filter">
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
62 <property name="child-model">model</property>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
63 </object>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
64 <object class="GtkAdjustment" id="port_adjustment">
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
65 <property name="lower">-1</property>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
66 <property name="upper">65535</property>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
67 <property name="step-increment">1</property>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
68 <property name="page-increment">10</property>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
69 </object>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
70 <template class="PidginProxyOptions" parent="GtkBox">
41352
5621fd3902fa Tweak spacing and alignment of new proxy options; this matches the existing look a bit more.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41350
diff changeset
71 <property name="margin-start">12</property>
5621fd3902fa Tweak spacing and alignment of new proxy options; this matches the existing look a bit more.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41350
diff changeset
72 <property name="margin-end">12</property>
5621fd3902fa Tweak spacing and alignment of new proxy options; this matches the existing look a bit more.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41350
diff changeset
73 <property name="margin-top">12</property>
5621fd3902fa Tweak spacing and alignment of new proxy options; this matches the existing look a bit more.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41350
diff changeset
74 <property name="margin-bottom">12</property>
41350
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
75 <property name="orientation">vertical</property>
41352
5621fd3902fa Tweak spacing and alignment of new proxy options; this matches the existing look a bit more.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41350
diff changeset
76 <property name="spacing">6</property>
41350
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
77 <child>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
78 <object class="GtkBox">
41352
5621fd3902fa Tweak spacing and alignment of new proxy options; this matches the existing look a bit more.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41350
diff changeset
79 <property name="spacing">6</property>
41350
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
80 <child>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
81 <object class="GtkLabel" id="proxy_type_label">
41543
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
82 <property name="label" translatable="1">Proxy _type:</property>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
83 <property name="use-underline">1</property>
41350
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
84 <property name="mnemonic-widget">proxy_type</property>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
85 <property name="xalign">0</property>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
86 </object>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
87 </child>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
88 <child>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
89 <object class="GtkComboBox" id="proxy_type">
41543
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
90 <property name="hexpand">1</property>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
91 <property name="halign">GTK_ALIGN_FILL</property>
41350
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
92 <property name="model">filter</property>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
93 <signal name="changed" handler="pidgin_proxy_options_proxy_type_changed_cb" object="PidginProxyOptions" swapped="no"/>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
94 <child>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
95 <object class="GtkCellRendererText"/>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
96 <attributes>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
97 <attribute name="text">1</attribute>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
98 </attributes>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
99 </child>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
100 </object>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
101 </child>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
102 </object>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
103 </child>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
104 <child>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
105 <object class="GtkBox" id="options">
41543
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
106 <property name="sensitive">0</property>
41350
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
107 <property name="orientation">vertical</property>
41352
5621fd3902fa Tweak spacing and alignment of new proxy options; this matches the existing look a bit more.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41350
diff changeset
108 <property name="spacing">6</property>
41350
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
109 <child>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
110 <object class="GtkBox">
41352
5621fd3902fa Tweak spacing and alignment of new proxy options; this matches the existing look a bit more.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41350
diff changeset
111 <property name="spacing">6</property>
41350
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
112 <child>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
113 <object class="GtkLabel" id="host_label">
41543
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
114 <property name="label" translatable="1">_Host:</property>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
115 <property name="use-underline">1</property>
41350
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
116 <property name="mnemonic-widget">hostname</property>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
117 <property name="xalign">0</property>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
118 </object>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
119 </child>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
120 <child>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
121 <object class="GtkEntry" id="hostname">
41543
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
122 <property name="hexpand">1</property>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
123 <property name="halign">GTK_ALIGN_FILL</property>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
124 <property name="focusable">1</property>
41350
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
125 </object>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
126 </child>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
127 </object>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
128 </child>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
129 <child>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
130 <object class="GtkBox">
41352
5621fd3902fa Tweak spacing and alignment of new proxy options; this matches the existing look a bit more.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41350
diff changeset
131 <property name="spacing">6</property>
41350
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
132 <child>
41543
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
133 <object class="GtkLabel" id="port_label">
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
134 <property name="label" translatable="1">_Port:</property>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
135 <property name="use-underline">1</property>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
136 <property name="mnemonic-widget">port</property>
41350
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
137 <property name="xalign">0</property>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
138 </object>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
139 </child>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
140 <child>
41543
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
141 <object class="GtkSpinButton" id="port">
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
142 <property name="hexpand">1</property>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
143 <property name="halign">GTK_ALIGN_FILL</property>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
144 <property name="focusable">1</property>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
145 <property name="input-hints">GTK_INPUT_HINT_NO_EMOJI | GTK_INPUT_HINT_NONE</property>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
146 <property name="adjustment">port_adjustment</property>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
147 <property name="numeric">1</property>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
148 <property name="extra-menu">extra</property>
41350
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
149 </object>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
150 </child>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
151 </object>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
152 </child>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
153 <child>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
154 <object class="GtkBox">
41543
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
155 <property name="spacing">6</property>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
156 <child>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
157 <object class="GtkLabel" id="username_label">
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
158 <property name="label" translatable="1">_Username:</property>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
159 <property name="use-underline">1</property>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
160 <property name="mnemonic-widget">username</property>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
161 <property name="xalign">0</property>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
162 </object>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
163 </child>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
164 <child>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
165 <object class="GtkEntry" id="username">
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
166 <property name="hexpand">1</property>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
167 <property name="halign">GTK_ALIGN_FILL</property>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
168 <property name="focusable">1</property>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
169 </object>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
170 </child>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
171 </object>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
172 </child>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
173 <child>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
174 <object class="GtkBox">
41352
5621fd3902fa Tweak spacing and alignment of new proxy options; this matches the existing look a bit more.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41350
diff changeset
175 <property name="spacing">6</property>
41350
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
176 <child>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
177 <object class="GtkLabel" id="password_label">
41543
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
178 <property name="label" translatable="1">Pa_ssword:</property>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
179 <property name="use-underline">1</property>
41350
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
180 <property name="mnemonic-widget">password</property>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
181 <property name="xalign">0</property>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
182 </object>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
183 </child>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
184 <child>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
185 <object class="GtkEntry" id="password">
41543
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
186 <property name="hexpand">1</property>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
187 <property name="halign">GTK_ALIGN_FILL</property>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
188 <property name="focusable">1</property>
41350
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
189 </object>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
190 </child>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
191 </object>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
192 </child>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
193 </object>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
194 </child>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
195 </template>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
196 <object class="GtkSizeGroup">
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
197 <widgets>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
198 <widget name="proxy_type_label"/>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
199 <widget name="host_label"/>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
200 <widget name="port_label"/>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
201 <widget name="username_label"/>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
202 <widget name="password_label"/>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
203 </widgets>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
204 </object>
41543
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
205 <menu id="extra">
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
206 <item>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
207 <!-- TRANSLATORS: This is an easter egg.
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
208 It means one of two things, both intended as humorous:
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
209 A) your network is really slow and you have nothing better to do than look at butterflies.
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
210 B) You are looking really closely at something that shouldn't matter.
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
211 -->
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
212 <attribute name="label" translatable="yes">If you look real closely</attribute>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
213 </item>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
214 <item>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
215 <!-- TRANSLATORS: This is an easter egg.
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
216 It means one of two things, both intended as humorous:
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
217 A) your network is really slow and you have nothing better to do than look at butterflies.
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
218 B) You are looking really closely at something that shouldn't matter.
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
219 -->
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
220 <attribute name="label" translatable="yes">you can see the butterflies mating</attribute>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
221 </item>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
222 </menu>
41350
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
223 </interface>

mercurial