pidgin/resources/proxyoptions.ui

Fri, 16 Sep 2022 01:54:11 -0500

author
Elliott Sales de Andrade <quantum.analyst@gmail.com>
date
Fri, 16 Sep 2022 01:54:11 -0500
changeset 41694
83e6692c76a3
parent 41629
f617ffec2950
permissions
-rw-r--r--

Change the credential provider row active indicator to a CheckButton

Because I noticed that Adw has a style that is for this sort of thing.

Testing Done:
Opened Credential prefs, and changed selected provider. Also checked that clicking the check button didn't accidentally change its state without changing the row, and that it could not be selected by keyboard separately from the row.

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

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>
41350
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
91 <property name="model">filter</property>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
92 <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
93 <child>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
94 <object class="GtkCellRendererText"/>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
95 <attributes>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
96 <attribute name="text">1</attribute>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
97 </attributes>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
98 </child>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
99 </object>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
100 </child>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
101 </object>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
102 </child>
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 <object class="GtkBox" id="options">
41543
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
105 <property name="sensitive">0</property>
41350
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
106 <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
107 <property name="spacing">6</property>
41350
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
108 <child>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
109 <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
110 <property name="spacing">6</property>
41350
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
111 <child>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
112 <object class="GtkLabel" id="host_label">
41543
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
113 <property name="label" translatable="1">_Host:</property>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
114 <property name="use-underline">1</property>
41350
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
115 <property name="mnemonic-widget">hostname</property>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
116 <property name="xalign">0</property>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
117 </object>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
118 </child>
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 <object class="GtkEntry" id="hostname">
41543
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
121 <property name="hexpand">1</property>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
122 <property name="focusable">1</property>
41350
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
123 </object>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
124 </child>
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 <child>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
128 <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
129 <property name="spacing">6</property>
41350
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
130 <child>
41543
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
131 <object class="GtkLabel" id="port_label">
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
132 <property name="label" translatable="1">_Port:</property>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
133 <property name="use-underline">1</property>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
134 <property name="mnemonic-widget">port</property>
41350
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
135 <property name="xalign">0</property>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
136 </object>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
137 </child>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
138 <child>
41543
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
139 <object class="GtkSpinButton" id="port">
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
140 <property name="hexpand">1</property>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
141 <property name="focusable">1</property>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
142 <property name="adjustment">port_adjustment</property>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
143 <property name="numeric">1</property>
41350
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
144 </object>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
145 </child>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
146 </object>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
147 </child>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
148 <child>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
149 <object class="GtkBox">
41543
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
150 <property name="spacing">6</property>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
151 <child>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
152 <object class="GtkLabel" id="username_label">
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
153 <property name="label" translatable="1">_Username:</property>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
154 <property name="use-underline">1</property>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
155 <property name="mnemonic-widget">username</property>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
156 <property name="xalign">0</property>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
157 </object>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
158 </child>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
159 <child>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
160 <object class="GtkEntry" id="username">
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
161 <property name="hexpand">1</property>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
162 <property name="focusable">1</property>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
163 </object>
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>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
166 </child>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
167 <child>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
168 <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
169 <property name="spacing">6</property>
41350
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
170 <child>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
171 <object class="GtkLabel" id="password_label">
41543
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
172 <property name="label" translatable="1">Pa_ssword:</property>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
173 <property name="use-underline">1</property>
41350
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
174 <property name="mnemonic-widget">password</property>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
175 <property name="xalign">0</property>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
176 </object>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
177 </child>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
178 <child>
41602
7a52387e60ae Use GtkPasswordEntry for passwords
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41576
diff changeset
179 <object class="GtkPasswordEntry" id="password">
41543
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
180 <property name="hexpand">1</property>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
181 <property name="focusable">1</property>
41602
7a52387e60ae Use GtkPasswordEntry for passwords
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41576
diff changeset
182 <property name="show-peek-icon">1</property>
41350
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
183 </object>
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>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
186 </child>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
187 </object>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
188 </child>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
189 </template>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
190 <object class="GtkSizeGroup">
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
191 <widgets>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
192 <widget name="proxy_type_label"/>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
193 <widget name="host_label"/>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
194 <widget name="port_label"/>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
195 <widget name="username_label"/>
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
196 <widget name="password_label"/>
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 </object>
41543
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
199 <menu id="extra">
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
200 <item>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
201 <!-- TRANSLATORS: This is an easter egg.
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
202 It means one of two things, both intended as humorous:
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
203 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
204 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
205 -->
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
206 <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
207 </item>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
208 <item>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
209 <!-- TRANSLATORS: This is an easter egg.
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
210 It means one of two things, both intended as humorous:
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
211 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
212 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
213 -->
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
214 <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
215 </item>
d6ba57accc0e Port PidginProxyOptions to GTK4
Gary Kramlich <grim@reaperworld.com>
parents: 41352
diff changeset
216 </menu>
41350
2bdf14aaf7a1 Create a PidginProxyOptions widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
217 </interface>

mercurial