Fri, 16 Sep 2022 01:54:11 -0500
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/
|
40251
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
1 | <?xml version="1.0" encoding="UTF-8"?> |
|
41589
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
2 | <!-- |
|
40251
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
3 | Pidgin - Internet Messenger |
|
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
4 | Copyright (C) Pidgin Developers <devel@pidgin.im> |
|
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
5 | |
|
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
6 | This program is free software; you can redistribute it and/or |
|
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
7 | modify it under the terms of the GNU General Public License |
|
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
8 | as published by the Free Software Foundation; either version 2 |
|
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
9 | of the License, or (at your option) any later version. |
|
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
10 | |
|
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
11 | This program is distributed in the hope that it will be useful, |
|
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
14 | GNU General Public License for more details. |
|
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
15 | |
|
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
16 | You should have received a copy of the GNU General Public License |
|
41589
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
17 | along with this library; if not, see <https://www.gnu.org/licenses/>. |
|
40251
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
18 | --> |
|
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
19 | <interface> |
|
41589
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
20 | <requires lib="gtk" version="4.0"/> |
|
40251
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
21 | <requires lib="pidgin" version="3.0"/> |
|
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
22 | <!-- interface-license-type gplv2 --> |
|
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
23 | <!-- interface-name Pidgin --> |
|
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
24 | <!-- interface-description Internet Messenger --> |
|
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
25 | <!-- interface-copyright Pidgin Developers <devel@pidgin.im> --> |
|
40534
8dad2981fb86
Separate the AccountChooser from its model and move options to filters
Gary Kramlich <grim@reaperworld.com>
parents:
40252
diff
changeset
|
26 | <object class="PidginAccountStore" id="account_store"/> |
|
8dad2981fb86
Separate the AccountChooser from its model and move options to filters
Gary Kramlich <grim@reaperworld.com>
parents:
40252
diff
changeset
|
27 | <object class="PidginAccountFilterConnected" id="connected_account_store"> |
|
40824
132c763c26e4
Refresh all of the ui files
Gary Kramlich <grim@reaperworld.com>
parents:
40534
diff
changeset
|
28 | <property name="child-model">account_store</property> |
|
40534
8dad2981fb86
Separate the AccountChooser from its model and move options to filters
Gary Kramlich <grim@reaperworld.com>
parents:
40252
diff
changeset
|
29 | </object> |
|
40251
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
30 | <object class="GtkListStore" id="allow_store"> |
|
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
31 | <columns> |
|
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
32 | <column type="gchararray"/> |
|
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
33 | </columns> |
|
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
34 | </object> |
|
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
35 | <object class="GtkListStore" id="block_store"> |
|
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
36 | <columns> |
|
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
37 | <column type="gchararray"/> |
|
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
38 | </columns> |
|
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
39 | </object> |
|
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
40 | <template class="PidginPrivacyDialog" parent="GtkDialog"> |
|
41589
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
41 | <property name="title" translatable="1">Privacy</property> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
42 | <signal name="close" handler="gtk_window_destroy" swapped="no"/> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
43 | <child internal-child="content_area"> |
|
40251
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
44 | <object class="GtkBox"> |
|
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
45 | <property name="orientation">vertical</property> |
|
41589
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
46 | <property name="spacing">6</property> |
|
41643
f7af70658fe5
Convert privacy combo box to the new drop down
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41629
diff
changeset
|
47 | <property name="vexpand">1</property> |
|
41589
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
48 | <child> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
49 | <object class="GtkLabel"> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
50 | <property name="valign">center</property> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
51 | <property name="label" translatable="1">Changes to privacy settings take effect immediately.</property> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
52 | <property name="xalign">0</property> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
53 | </object> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
54 | </child> |
|
40251
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
55 | <child> |
|
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
56 | <object class="GtkBox"> |
|
41589
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
57 | <property name="spacing">5</property> |
|
40251
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
58 | <child> |
|
41589
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
59 | <object class="GtkLabel" id="label1"> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
60 | <property name="halign">center</property> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
61 | <property name="label" translatable="1">Set privacy for:</property> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
62 | <property name="use-underline">1</property> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
63 | <property name="mnemonic-widget">account_chooser</property> |
|
40251
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
64 | </object> |
|
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
65 | </child> |
|
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
66 | <child> |
|
41589
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
67 | <object class="PidginAccountChooser" id="account_chooser"> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
68 | <property name="hexpand">1</property> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
69 | <property name="model">connected_account_store</property> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
70 | <property name="active">0</property> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
71 | <signal name="changed" handler="select_account_cb" object="PidginPrivacyDialog" swapped="no"/> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
72 | <accessibility> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
73 | <relation name="labelled-by">label1</relation> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
74 | </accessibility> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
75 | </object> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
76 | </child> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
77 | </object> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
78 | </child> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
79 | <child> |
|
41643
f7af70658fe5
Convert privacy combo box to the new drop down
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41629
diff
changeset
|
80 | <object class="GtkDropDown" id="type_menu"> |
|
f7af70658fe5
Convert privacy combo box to the new drop down
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41629
diff
changeset
|
81 | <property name="model"> |
|
f7af70658fe5
Convert privacy combo box to the new drop down
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41629
diff
changeset
|
82 | <object class="GtkStringList"> |
|
f7af70658fe5
Convert privacy combo box to the new drop down
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41629
diff
changeset
|
83 | </object> |
|
f7af70658fe5
Convert privacy combo box to the new drop down
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41629
diff
changeset
|
84 | </property> |
|
f7af70658fe5
Convert privacy combo box to the new drop down
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41629
diff
changeset
|
85 | <signal name="notify::selected" handler="type_changed_cb" object="PidginPrivacyDialog" swapped="no"/> |
|
41589
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
86 | </object> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
87 | </child> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
88 | <child> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
89 | <object class="GtkScrolledWindow" id="allow_widget"> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
90 | <property name="vexpand">1</property> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
91 | <property name="height-request">200</property> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
92 | <property name="focusable">1</property> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
93 | <property name="child"> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
94 | <object class="GtkTreeView" id="allow_list"> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
95 | <property name="focusable">1</property> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
96 | <property name="model">allow_store</property> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
97 | <property name="headers-visible">0</property> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
98 | <property name="search-column">0</property> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
99 | <child internal-child="selection"> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
100 | <object class="GtkTreeSelection"> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
101 | <signal name="changed" handler="user_selected_cb" object="PidginPrivacyDialog" swapped="no"/> |
|
40251
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
102 | </object> |
|
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
103 | </child> |
|
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
104 | <child> |
|
41589
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
105 | <object class="GtkTreeViewColumn"> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
106 | <property name="clickable">1</property> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
107 | <property name="sort-column-id">0</property> |
|
40251
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
108 | <child> |
|
41589
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
109 | <object class="GtkCellRendererText"/> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
110 | <attributes> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
111 | <attribute name="text">0</attribute> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
112 | </attributes> |
|
40251
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
113 | </child> |
|
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
114 | </object> |
|
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
115 | </child> |
|
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
116 | </object> |
|
41589
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
117 | </property> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
118 | </object> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
119 | </child> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
120 | <child> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
121 | <object class="GtkScrolledWindow" id="block_widget"> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
122 | <property name="vexpand">1</property> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
123 | <property name="height-request">200</property> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
124 | <property name="focusable">1</property> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
125 | <property name="child"> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
126 | <object class="GtkTreeView" id="block_list"> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
127 | <property name="focusable">1</property> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
128 | <property name="model">block_store</property> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
129 | <property name="headers-visible">0</property> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
130 | <child internal-child="selection"> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
131 | <object class="GtkTreeSelection"> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
132 | <signal name="changed" handler="user_selected_cb" object="PidginPrivacyDialog" swapped="no"/> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
133 | </object> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
134 | </child> |
|
40251
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
135 | <child> |
|
41589
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
136 | <object class="GtkTreeViewColumn"> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
137 | <property name="clickable">1</property> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
138 | <property name="sort-column-id">0</property> |
|
40251
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
139 | <child> |
|
41589
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
140 | <object class="GtkCellRendererText"/> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
141 | <attributes> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
142 | <attribute name="text">0</attribute> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
143 | </attributes> |
|
40251
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
144 | </child> |
|
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
145 | </object> |
|
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
146 | </child> |
|
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
147 | </object> |
|
41589
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
148 | </property> |
|
40251
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
149 | </object> |
|
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
150 | </child> |
|
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
151 | </object> |
|
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
152 | </child> |
|
41501
e34ec115fc34
Move dialog buttons to action widgets
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41014
diff
changeset
|
153 | <child type="action"> |
|
e34ec115fc34
Move dialog buttons to action widgets
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41014
diff
changeset
|
154 | <object class="GtkButton" id="add_button"> |
|
e34ec115fc34
Move dialog buttons to action widgets
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41014
diff
changeset
|
155 | <property name="label">_Add</property> |
|
41589
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
156 | <property name="focusable">1</property> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
157 | <property name="receives-default">1</property> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
158 | <property name="use-underline">1</property> |
|
41501
e34ec115fc34
Move dialog buttons to action widgets
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41014
diff
changeset
|
159 | <signal name="clicked" handler="add_cb" object="PidginPrivacyDialog" swapped="no"/> |
|
e34ec115fc34
Move dialog buttons to action widgets
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41014
diff
changeset
|
160 | </object> |
|
e34ec115fc34
Move dialog buttons to action widgets
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41014
diff
changeset
|
161 | </child> |
|
e34ec115fc34
Move dialog buttons to action widgets
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41014
diff
changeset
|
162 | <child type="action"> |
|
e34ec115fc34
Move dialog buttons to action widgets
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41014
diff
changeset
|
163 | <object class="GtkButton" id="remove_button"> |
|
e34ec115fc34
Move dialog buttons to action widgets
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41014
diff
changeset
|
164 | <property name="label">_Remove</property> |
|
41589
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
165 | <property name="sensitive">0</property> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
166 | <property name="focusable">1</property> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
167 | <property name="receives-default">1</property> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
168 | <property name="use-underline">1</property> |
|
41501
e34ec115fc34
Move dialog buttons to action widgets
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41014
diff
changeset
|
169 | <signal name="clicked" handler="remove_cb" object="PidginPrivacyDialog" swapped="no"/> |
|
e34ec115fc34
Move dialog buttons to action widgets
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41014
diff
changeset
|
170 | </object> |
|
e34ec115fc34
Move dialog buttons to action widgets
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41014
diff
changeset
|
171 | </child> |
|
e34ec115fc34
Move dialog buttons to action widgets
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41014
diff
changeset
|
172 | <child type="action"> |
|
e34ec115fc34
Move dialog buttons to action widgets
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41014
diff
changeset
|
173 | <object class="GtkButton" id="removeall_button"> |
|
41589
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
174 | <property name="label" translatable="1">Remove Al_l</property> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
175 | <property name="focusable">1</property> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
176 | <property name="receives-default">1</property> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
177 | <property name="use-underline">1</property> |
|
41501
e34ec115fc34
Move dialog buttons to action widgets
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41014
diff
changeset
|
178 | <signal name="clicked" handler="removeall_cb" object="PidginPrivacyDialog" swapped="no"/> |
|
e34ec115fc34
Move dialog buttons to action widgets
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41014
diff
changeset
|
179 | </object> |
|
e34ec115fc34
Move dialog buttons to action widgets
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41014
diff
changeset
|
180 | </child> |
|
e34ec115fc34
Move dialog buttons to action widgets
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41014
diff
changeset
|
181 | <child type="action"> |
|
e34ec115fc34
Move dialog buttons to action widgets
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41014
diff
changeset
|
182 | <object class="GtkButton" id="close_button"> |
|
e34ec115fc34
Move dialog buttons to action widgets
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41014
diff
changeset
|
183 | <property name="label">_Close</property> |
|
41589
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
184 | <property name="focusable">1</property> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
185 | <property name="receives-default">1</property> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
186 | <property name="use-underline">1</property> |
|
779fc4417138
Port the privacy dialog to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41501
diff
changeset
|
187 | <signal name="clicked" handler="gtk_window_destroy" object="PidginPrivacyDialog" swapped="yes"/> |
|
41501
e34ec115fc34
Move dialog buttons to action widgets
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41014
diff
changeset
|
188 | </object> |
|
e34ec115fc34
Move dialog buttons to action widgets
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41014
diff
changeset
|
189 | </child> |
|
40251
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
190 | </template> |
|
41e9424fc96f
Convert Privacy dialog to Glade.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
191 | </interface> |